The squeue
command will list all jobs scheduled in the cluster. We have also written wrappers for squeue
on Oscar that you may find more convenient:
This command will list all of your pending jobs and the estimated time until completion.
sacct
The sacct
command will list all of your running, queued and completed jobs since midnight of the previous day. To pick an earlier start date, specify it with the -S
option:
To find out more information about a specific job, such as its exit status or the amount of runtime or memory it used, specify the -l
("long" format) and -j
options with the job ID:
(example)
myjobinfo
The myjobinfo
command uses the sacct
command to display "Elapsed Time", "Requested Memory" and "Maximum Memory used on any one Node" for your jobs. This can be used to optimize the requested time and memory to have the job started as early as possible. Make sure you request a conservative amount based on how much was used.
ReqMem
shows the requested memory: A c
at the end of number represents Memory Per CPU, a n
represents Memory Per Node. MaxRSS
is the maximum memory used on any one node. Note that memory specified to sbatch using --mem
is Per Node.
jobstats
The 'jobstats' utility is now available for analyzing recently completed jobs, comparing the resources used to those requested in the job script, including CPU, GPU, and memory. If email notifications are enabled, 'jobstats' sends an email with the results and includes a prompt to contact support for help with resource requests.
Run this command in a bash shell on Oscar. No additional module needs to be loaded.
To send this output to your email after the job is completed, make sure that these lines are in your job submit script