List Jobs by squeue & sview
squeue command
After you submit jobs, you can check their information and status in the queue. The simplest way is to use squeue command to list all of your jobs:
1 2 3 4 5 6 |
|
where the argument -l
reports more of the available information (i.e. l
for long
format) and -u
specifies which user's jobs to show. You may find a complete squeue
specifications from the SLURM web site.
HPCC staff also wrote some powertools commands so users can see their jobs conveniently. Before using powertools commands, please make sure powertools module is loaded by using moudle list (By default, the powertools module should be loaded unless the user has purged modules with module purge)
1 2 3 4 |
|
One of the commands sq works the same as the above squeue command:
1 2 3 4 5 6 |
|
where it shows the job IDs, job partition, job name, username, job state, elapsed time, walltime limit, total number of nodes and the node list or the waiting reason for the user's each jobs. Users can also use qs command to see more information:
1 2 3 4 5 6 7 8 |
|
where more items, such as, total number of CPUs, memory, gpu per node and job start time (for pending jobs) or elapsed time (for running jobs) are shown. For a complete usage of squeue command, please refer to the SLURM web site.
sview command
Besides the text listing of the jobs, SLURM also offer a command to show the squeue information with a graphical interface. Use the command sview:
1 |
|
You will see an image of a job list displaying all jobs in the queue:
Click on each job, it will pop out another window and show the detailed information. For a complete usage of sview command, please refer to the SLURM web site.