A terminal UI for slurm job management. Like the awesome lazygit but for HPC clusters.
Slurm's CLI is powerful but clunky for monitoring. This project gives you the lazygit experience. Built in Rust with ratatui because single binaries are beautiful on HPC systems.
- Job management - Cancel jobs, view details, and monitor resource usage
- Single binary - No dependencies, perfect for HPC environments
- Real-time job monitoring - Watch your jobs as they run, with live log tailing
Download the latest binary for your platform from GitHub Releases:
# Linux x64
curl -L https://github.com/hill/lazyslurm/releases/latest/download/lazyslurm-linux-x64.tar.gz | tar xz
sudo mv lazyslurm /usr/local/bin/
# macOS (Apple Silicon)
curl -L https://github.com/hill/lazyslurm/releases/latest/download/lazyslurm-macos-arm64.tar.gz | tar xz
sudo mv lazyslurm /usr/local/bin/
# macOS (Intel)
curl -L https://github.com/hill/lazyslurm/releases/latest/download/lazyslurm-macos-x64.tar.gz | tar xz
sudo mv lazyslurm /usr/local/bin/
brew install hill/tap/lazyslurm
If you have Rust installed:
cargo install lazyslurm
gah install hill/lazyslurm
# Monitor all jobs for current user
lazyslurm
# Monitor jobs for specific user
lazyslurm --user username
# Monitor jobs in specific partition
lazyslurm --partition gpu
Key | Action |
---|---|
q |
Quit application |
↑/↓ or j/k |
Navigate job list |
r |
Refresh job data |
c |
Cancel selected job |
Enter |
View job details |
l |
View job logs |
? |
Show help |
LazySlurm reads configuration from ~/.config/lazyslurm/config.toml
:
[display]
refresh_interval = 5 # seconds
max_log_lines = 100
[slurm]
default_user = "myusername"
default_partition = "compute"
Requires Docker and just.
# Start SLURM container
just slurm_up
# Get into container for development
just slurm_shell
# Inside container: your code is at /workspace
cargo run
# Submit test jobs (from host or container)
just slurm_populate
Your source code is mounted into the container so changes are immediately available.