A few #slurm tidbits:

Total submitted jobs per user, sorted:
```
squeue | sed 's/ \+/\t/g' | cut -f5 \
| sort | uniq -c | sort -hr
```

Running jobs per user:
```
squeue | grep ' R ' | sed 's/ \+/\t/g' \
| cut -f5 | sort | uniq -c | sort -hr
```

Pending jobs per user:
```
squeue | grep ' PD ' | sed 's/ \+/\t/g' \
| cut -f5 | sort | uniq -c | sort -hr
```

#bash #hpc

GitHub - OleHolmNielsen/Slurm_tools: My tools for the Slurm HPC workload manager

My tools for the Slurm HPC workload manager. Contribute to OleHolmNielsen/Slurm_tools development by creating an account on GitHub.

GitHub
@admin @plantarum Here's one for summarizing pending job reasons by user, partition, and reason (see alt text for script contents):
@admin @plantarum And here's one to list high-level summaries by job status for each partition:
@admin @plantarum I have more, just ask!