Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Ruunyox/slurmvision
TUI for browsing, canceling, and inspecting SLURM jobs
https://github.com/Ruunyox/slurmvision
Last synced: 7 days ago
JSON representation
TUI for browsing, canceling, and inspecting SLURM jobs
- Host: GitHub
- URL: https://github.com/Ruunyox/slurmvision
- Owner: Ruunyox
- License: mit
- Created: 2022-11-16T21:34:33.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-13T22:10:37.000Z (12 months ago)
- Last Synced: 2024-08-02T07:24:00.791Z (3 months ago)
- Language: Python
- Size: 52.7 KB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-high-performance-computing - Slurmvision slurm dashboard - A dashboard for monitoring and managing Slurm jobs. (Software / Trends)
README
# SlurmVision
---
Simple tool for browsing, inspecting, canceling SLURM jobs. Greatly inspired by
mil-ad's [stui](https://github.com/mil-ad/stui). Please be aware of your cluster's rules (if any) concerning
'squeue'/'sinfo' polling request frequency. Currently a minimum of 10 seconds for a polling interval
is suggested by default. If you wish to poll more frequently, do so at your own risk (per the license)
and/or after consultation with your cluster admin(s). Enjoy!![slurmvision-a-tui-for-monitoring-inspecting-and-canceling-v0-c2x03yi3oz0a1](https://github.com/Ruunyox/slurmvision/assets/42926839/701ae6d0-6917-4f54-b59e-2f5330b08803)
## Install
```
git clone https://github.com/ruunyox/slurmvision
cd slurmvision
pip3 install .
```## Usage
`slurmvision --help`
Press `h` for information on controls while running.
## Configuration
A user-specific YAML file of configuration options can be read from `$HOME/.config/slurmvision.yml` or the `--config` CLI argument can be used to specify a config file elsewhere. A sample configuration file is shown here:
```
delimeter: "|||"
squeue_opts:
polling_interval: 10
getopts: null
formopts:
"--Format": "JobId:|||,UserName:|||,Name:|||,STATE:|||,ReasonList:|||,TimeUsed:"
sinfo_opts:
getopts: null
formopts:
"--Format": "PartitionName:|||,Time:|||,CPUs:|||,Memory:|||,Gres:|||,StateCompact:"
detail_opts:
formopts:
"--Format": "JobId:|||,UserName:|||,Name:|||,STATE:|||,Reason:|||,cpus-per-task:|||,Partition:|||,TimeUsed:|||,TimeLeft:|||,SubmitTime:|||,StartTime:|||,STDOUT:|||,WorkDir:|||,ClusterFeature:|||,Feature:|||,GroupName:|||,NumCPUs:|||,NumNodes:|||,NodeList:"
tui_opts:
select_advance: true
my_jobs_first: true
palette: null
```The user configuration can also specify a specific palette using standard Urwid named colors as a nested list:
```
# all color specifications are represented by ["name", "fg", "bg"]
tui_opts:
palette:
-
# Color of job/cluster window
- "standard"
- "white"
- "dark magenta"
-
# Color of header window
- "header"
- "black"
- "white"
-
# Color of footer window
- "footer"
- "black"
- "white"
-
# Color of jobs that have been selected
- "selected"
- "dark red"
- "dark magenta"
-
# Color of warning pop-ups
- "warning"
- "black"
- "dark red"
-
# Color of help messages
- "help"
- "black"
- "yellow"
-
# Color of detailed job info pop-ups
- "detail"
- "black"
- "white"
-
# Color of error pop-ups
- "error"
- "black"
- "dark red"
-
# Color of currently highlighted job
- "focus"
- "black"
- "dark magenta"
```
Any unspecified palette options will assume default options.