NERSCPowering Scientific Discovery Since 1974

Monitoring Jobs

Job Monitoring Commands
CommandDescription
qsub [batch_script] Submits batch script to the queue. The output of qsub will be a jobid
qdel [jobid] Deletes a job from the queue
qhold [jobid] Puts a job on hold in the queue.
qrls [jobid] Releases a job from hold.
qalter Allows user to change attributes of submitted job.
qmove [new_queue][jobid] Allows user to move job to new queue
qstat -a Lists jobs in submission order (more useful than qstat without options) Also takes -u and -f [jobid]> options
qstat -f [jobid] Produce a detailed report for the job. Note: if used on the login node from which the job was submitted then [jobid] need only contain the numerical portion of the job id. If used on a different login node then [jobid] must contain the full id, such as qstat -f 494525.cvrsvc09-ib
qs NERSC provided wrapper which shows jobs in priority order. Takes -u username and -w options.
apstat Shows the number of up nodes and idle nodes and a list of current pending and running jobs. apstat -r command displays all the nodes reservations.
showq List jobs in priority order in three categories: active jobs, eligible jobs and blocked jobs. This command lists jobs in priority order. showq -i lists details of all eligible jobs.
showstart Takes a jobid as its argument and displays an estimate start time of a job based on current reservations (number of jobs and requested time)
checkjob jobid Takes a jobid as its argument and displays the current job state and whether nodes are available to run the job currently.
xtnodestat shows the current allocation and status of the system's nodes and gives information about each running job. The output displays the position of each node in the network