NAME

slurm-load - Summarise Slurm workload by combining sinfo node states with squeue job pressure

VERSION

version 0.21.0

SYNOPSIS

slurm-load [options]

DESCRIPTION

This command combines sinfo and squeue to provide a partition-level view of current Slurm workload.

It uses sinfo to count node states per partition (idle, mixed, allocated, down) and squeue to count running and pending jobs and requested nodes.

OPTIONS

-t, --tab

Print tab-separated output.

-u, --user USER

Restrict the squeue portion of the summary to one user.

--version

Show the version of the script.

-h, --help

Show help and exit.

OUTPUT

The default table contains one row per partition plus a final TOTAL row.

  • Total

    Total nodes seen in sinfo for that partition.

  • Up

    Nodes that are not down/drained.

  • Idle, Mix, Alloc, Down

    Node counts grouped by broad Slurm state.

  • JobsR, JobsPD

    Running and pending job counts from squeue.

  • RunNodes, PendNodes

    Requested node counts for running and pending jobs.

  • Load

    Approximate node occupancy based on (mix + alloc) / up.

AUTHOR

Andrea Telatin <proch@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2023-2025 by Andrea Telatin.

This is free software, licensed under:

The MIT (X11) License