Info on `sdiag`
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
The built-in Slurm command sdiag is useful for an overview of the Slurm control daemon (slurmctld). It provides cumulative statistics on the state of slurmctld since it was last reset. Values are reset automatically at midnight UTC daily, and can be --reset explicitly.
The command sdiag | head -n 18 gives a summary of jobs on the cluster and in the queue.
The block Main schedule statistics shows info on scheduling cycles.
The block Backfilling stats may be more useful when we start using backfill queues.
The next blocks are about remote procedure calls and may be useful for understanding how Slurm is being used in general. It may prove useful in investigating inefficiencies from researchers unfamiliar with how Slurm works and its limitations. An example might be identifying researchers making large numbers of remote procedure calls with, e.g., squeue in a loop.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the repository’s documentation section for Slurm commands and verify the behavior described with sdiag | head -n 18. Document what the command reports, including scheduling, backfilling, and RPC statistics, and explain how the output can help investigate inefficient Slurm usage.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100