Command-line utility to view slurm jobs
Project description
slutil
A modern slurm experience.
A command line utility to view Slurm jobs. Written with rich and click.
Usage: slutil [OPTIONS] COMMAND [ARGS]...
Commands:
report Get status of multiple jobs
status Get status of a slurm job.
submit Submit a slurm job.
Contributing
Pushes to main are forbidden, all changes must go through a PR before merging. All tests must pass for a PR to be merged. Code is to be formatted with black. Built with poetry.
submit
Add metadata to an sbatch command and store data in the database
Must be used to log jobs in the database.
Usage: slutil submit [OPTIONS] SBATCH_FILE DESCRIPTION
Submit a slurm job.
SBATCH_FILE is a path to the .sbatch file for the job
DESCRIPTION is a text field describing the job
Options:
--help Show this message and exit.
report
View list of recent jobs
- Count parameter specifies the number of jobs to be displayed. Defaults to 10.
- Truncated to screen width by default,
-vto enable word-wrap.
Usage: slutil report [OPTIONS]
Get status of multiple jobs
Options:
-c, --count INTEGER
-v, --verbose
--help Show this message and exit.
status
Displays the data on a specific job
Usage: slutil status [OPTIONS] SLURM_ID
Get status of a slurm job.
SLURM_ID is the id of the job to check.
Options:
--help Show this message and exit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file slutil-0.10.3.tar.gz.
File metadata
- Download URL: slutil-0.10.3.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e366064d3be13f11e151125c2b95cf66943cc96cd2271eec1ca2a1e88a043cb
|
|
| MD5 |
31ee11ddd3fb35b9b55cc930a0cb35d5
|
|
| BLAKE2b-256 |
819da24bf8d0d2a52e5d418b566b0f3f2401e7d92875e139d3619d3431f4ddea
|
File details
Details for the file slutil-0.10.3-py3-none-any.whl.
File metadata
- Download URL: slutil-0.10.3-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7907f64dec5ac5691e4fa8133b89898f94c3e7956f2895c41231d46ddc552105
|
|
| MD5 |
55544ba2acced7ab13c5f610514e95c9
|
|
| BLAKE2b-256 |
4fa8f5976ea67c6cd5bb94cec4c21d73737d1627a9232075a10c7eb1116be386
|