Display status information for a running job/step

To display information about your running job, you can use the SLURM command sstat. The sstat command displays information related to CPU, Task, Node, Virtual Memory and more. You can specify the output with the use of the --fields= option to specify the fields to be shown (use man sstat). The sstat output is limited to the user's own jobs. For array jobs, the ".batch" suffix needs to be added to the full Job Id. For example if the Job Ids in the array are 123456_[0-10], to get information on job 123456_10, you would use:

sstat --format=AveCPU,AveCPUFreq,NTasks,MinCPU,MinCPUTask,MaxDiskWrite,MaxVMSizeNode -j 123456_10.batch
    AveCPU AveCPUFreq   NTasks    MinCPU  MinCPUTask MaxDiskWrite MaxVMSizeNode  
---------- ---------- -------- ---------- ---------- ------------ -------------- 
 11:02.000      2.22G    16384  10:57.000      10912    69309644K       nid03817