https://github.com/flexthink/cluster-control
https://github.com/flexthink/cluster-control
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/flexthink/cluster-control
- Owner: flexthink
- License: mit
- Created: 2025-09-15T16:00:53.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-25T21:59:40.000Z (9 months ago)
- Last Synced: 2025-09-25T23:44:02.444Z (9 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cluster Control
Cluster Control is a SwiftBar script designed to monitor SLURM clusters directly from your macOS menu bar. It provides real-time updates on cluster status, job queues, and resource usage, helping users efficiently manage and observe their SLURM workloads.
## What is SwiftBar?
SwiftBar is a powerful macOS application that allows you to display custom scripts and plugins in your menu bar.
Learn more and download SwiftBar here: [https://swiftbar.app](https://swiftbar.app)
## Features
- Monitor SLURM cluster status
- View job queues and resource usage
- Real-time updates in the menu bar
## Installation
- Download and install SwiftBar
- Clone this repository
- Copy the `rc` directory to the home directory on your cluster
- Modify `config.yaml` to specify the servers you would like to control
- Ensure that you can open new SSH connections to these servers without a password prompt while your session is active (i.e. by loading a cryptographic key and using features like ControlMaster to avoid a new MFA prompt on every connection)
- Create a SwiftBar script loading the correct Python virtual environment
## Configuration
Open `config.yaml` and set up each cluster entry point as follows:
```yaml
server-handle:
host: server.somedomain.com
label: My Server
```
## Sample SwiftBar script
```bash
#!/bin/bash
. /Users/jdoe/venv/myenv/bin/activate
python /Users/jdoe/Projects/cluster-control/swiftbar.py
```
## License
MIT license