Skip to main content

SlurmTUI

PyPI version PyPI - Downloads

A terminal user interface for monitoring and managing Slurm jobs. Instead of running squeue, sacct, and scancel over and over, you get a live-updating table of your jobs with colors, sorting, filtering, and shortcuts to tail logs, SSH into nodes, or delete jobs — all without leaving the TUI.

Built with Textual and Rich.

Note: SlurmTUI requires Slurm 21.08 or later for JSON output support.

Note: Viewing old jobs requires Slurm 24.05 or later.

Installation

pip install slurmtui

Usage

Just run slurmtui / slurmui / sui in your terminal.

Command-line options

Filter by account at launch:

slurmtui --acc my_account1,my_account2

View all users' jobs:

slurmtui --check_all_jobs

Override the update interval:

slurmtui --update-interval 5

Pass extra arguments to squeue:

slurmtui -- --partition=gpu

Settings

All preferences are stored in ~/.config/slurmtui/settings.json and persist across sessions. You can override the settings path by setting the SLURMTUI_SETTINGS environment variable.

Features

Live Job Table

The main view auto-refreshes every few seconds, showing your jobs with colored states (green for running, red for failed, etc.). Filter jobs by account, partition, or any column.

Job Table

Keybindings

Key Action
L Tail stdout log
E Tail stderr log
Ctrl+L Open stdout in secondary text viewer
Ctrl+E Open stderr in secondary text viewer
C SSH into the job's node
D Delete a job (with confirmation, works with array jobs)
I View detailed job info
O Toggle old jobs history (completed/failed via sacct)
R Open hardware resources view

The log viewer can be configured to use tail -f, less, or any command you want.

Old Jobs History

View completed/failed job history via sacct. Press O to toggle. For more info see the linked blog post

Hardware Resources View

See node allocation and availability across the cluster. Press R to open. For more info see the linked blog post.

Roadmap

  • View old jobs
  • Filtering jobs when launching
  • Sorting
  • Options other than tail for logs
  • Faster launch
  • Remove Array columns if no job array exists
  • Display used/available resources
  • Search

Have a feature request? Suggest it here

FAQ

How to select text in the App?

SlurmTUI runs a Textual app which puts your terminal into application mode, disabling clicking and dragging to select text. Most terminal emulators offer a modifier key which you can hold while you click and drag to restore normal selection:

  • iTerm — Hold the OPTION key.
  • Gnome Terminal — Hold the SHIFT key.
  • Windows Terminal — Hold the SHIFT key.

Refer to the documentation for your terminal emulator if it is not listed above.

Development reference

Run the fixture tests with python -m pytest -q, or the Docker matrix from Slurm 21.08 through 26.11 with python tests/slurm/run.py. See tests/README.md for setup, coverage, and individual-version runs.

See AGENTS.md for contributor/agent working instructions, notes/ for the design and code reference, and logs/ for daily development history.

License

MIT

Contact

Metadata

Release files for slurmtui 0.6.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slurmtui 0.6.4
File Size Uploaded Provenance Actions
slurmtui-0.6.4.tar.gz 34.9 kB With provenance Details for slurmtui-0.6.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for slurmtui 0.6.4
File Interpreter ABI Platform Actions
slurmtui-0.6.4-py3-none-any.whl Python 3 none any Details for slurmtui-0.6.4-py3-none-any.whl

Total release size: 69.5 kB

Release files / slurmtui-0.6.4.tar.gz

Download URL slurmtui-0.6.4.tar.gz
Size 34.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9cb323d751baff19ccf3e128294240c9a60103aa019cfae60834da4bd9e40ec5
BLAKE2b-256 checksum
How to use checksums
56abcde75a6a8c8178efd52f7cf386933ab9699f8296e7eac0b4d6c4b65bdea8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / slurmtui-0.6.4-py3-none-any.whl

Download URL slurmtui-0.6.4-py3-none-any.whl
Size 34.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ee833b6ce4a9928121c0e3defd88247d5cddef8e88591e6ec471a02c1fdcb31
BLAKE2b-256 checksum
How to use checksums
fdbf9830cf12c245e69810b883eeb45033890dca4a9d4edba7041da676c9fb5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for slurmtui 0.6.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for slurmtui-0.6.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page