LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

sdiag

Display Slurm controller diagnostic information

TLDR

Show scheduling diagnostic information (default mode)
$ sdiag
copy
Show diagnostics sorted by RPC total run time
$ sdiag -t
copy
Show diagnostics sorted by RPC average run time
$ sdiag -T
copy
Reset performance counters (requires operator/admin privileges)
$ sdiag -r
copy
Output diagnostics as JSON
$ sdiag --json
copy

SYNOPSIS

sdiag [options]

DESCRIPTION

sdiag displays diagnostic information about slurmctld, the Slurm controller daemon. It shows performance metrics, scheduling statistics, RPC counters, and resource usage data.This is useful for monitoring cluster health, troubleshooting scheduling performance, and identifying bottlenecks in the Slurm controller.

PARAMETERS

-a, --all

Get and report information. This is the default mode of operation.
-h, --help
Print description of options and exit.
-i, --sort-by-id
Sort RPC data by message type ID and user ID.
-r, --reset
Reset scheduler and RPC counters to 0. Only supported for Slurm operators and administrators.
-t, --sort-by-time
Sort RPC data by total run time.
-T, --sort-by-time2
Sort RPC data by average run time.
--json
Output information as JSON.
--yaml
Output information as YAML.
-V, --version
Print version number and exit.
--usage
Print list of options and exit.

INSTALL

sudo apt install slurm-client
copy

CAVEATS

Requires appropriate permissions to access Slurm controller data. The reset option requires operator or administrator privileges and affects all users' view of counters.

HISTORY

Part of Slurm workload manager, providing diagnostic tools for cluster administrators.

SEE ALSO

scontrol(1), sinfo(1), squeue(1), sacct(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid