Skip to main content

RichQueue

Project description

RichQueue

💰 RichQueue: A colourful and pythonic SLURM queue viewer

Installation from a modern python environment (>3.10) should be as simple as:

pip install --upgrade richqueue

To see your live-updating SLURM queue:

rq

queue_example

Other rq options

To see more detail:

rq --long

To see someone else's queue:

rq --user USER

To see the last X weeks history:

rq --hist X

To see history for a given time period, e.g.:

rq --hist '3 days'

To list available nodes on the cluster:

rq --idle

To show a static view:

rq --no-loop

Monitoring log files

If you keep your SLURM log files in a specific directory exported as the LOGS variable, you can use RichQueue to monitor results as they come in with

res <JOB_ID>
Screenshot 2025-11-20 at 09 05 48

Changing to the working directory of a job

To change to the submission/working directory of a job:

cd $(res --dir <JOB_ID>)

You might find it convenient to add a shortcut to this to your login profile, e.g. .bashrc_user or .bash_profile:

res --install-jd >> ~/.bashrc_user
source ~/.bashrc_user

This will make the jd executable available. Change to the directory of the single active or most recently submitted job:

jd

Change to a specific job's directory:

jd <JOB_ID>

Submitting SLURM jobs

RichQueue also provides a convenient wrapper to the sbatch command which makes sure your log files end up in the directory specified by the LOGS variable, and prints a pretty summary of the submitted job. Just replace sbatch with sb. E.g.:

sb --job-name test script.sh --script-arg1

Would run this under the hood:

sbatch --output=$LOGS/%j.log --error=$LOGS/%j.log --job-name test script.sh --script-arg1

and display the following:

Screenshot 2025-11-20 at 10 37 19

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

richqueue-1.11.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

richqueue-1.11-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file richqueue-1.11.tar.gz.

File metadata

  • Download URL: richqueue-1.11.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for richqueue-1.11.tar.gz
Algorithm Hash digest
SHA256 ba0b93f69c65c360db7c66e320f5bb687521a915331eaf559e749c69e396c17c
MD5 e7125de03ec524cdbf4a3063932aa8b0
BLAKE2b-256 1e8cd70a794c4ece25f8696593fe792610de3c21963448b1cd615f1c18cf4471

See more details on using hashes here.

File details

Details for the file richqueue-1.11-py3-none-any.whl.

File metadata

  • Download URL: richqueue-1.11-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for richqueue-1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 6aa455cdebfc3929db9d8e3c4d075e52f91aabd4298d7807b0ce55adadb3de70
MD5 c4e83df0c7efcd06aafa6e1b62ebe56c
BLAKE2b-256 f6feb2c9ad7599bdd0b96507822abb5f817adf5a46d509a877f9b949dc253de4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page