In Slurm, I would like to squeue
the jobs of a given user by sorting them in ascending order according to their JOBID. I tried
squeue -u username --sort=+JOBID
but it does not work. Do you have any ideas?
DESCRIPTION. squeue is used to view job and job step information for jobs managed by Slurm.
squeue - Job States R - Job is running on compute nodes. PD - Job is waiting on compute nodes. CG - Job is completing.
Job information Information on all running and pending batch jobs managed by SLURM can be obtained from the SLURM command squeue . Note that information on completed jobs is only retained for a limited period. Information on jobs that ran in the past is via. sacct An example of the output squeue is shown below.
The argument of the --sort
parameter uses the same letter as the format string in the --format
option. So your command should be
squeue -u username --sort=+i
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With