checkjob displays detailed job state information and diagnostic output for a specified job. Detailed information is available for queued, blocked, active, and recently completed jobs.
Access
This command can be run by level 1-3 Moab administrators for any job. Also, end users can use checkjob to view the status of their own jobs.
Arguments
Flag
Name
Format
Default
Description
Example
-A
ATTRIBUTE-VALUE PAIR
---
provide output in the form of parsable Attribute-Value pairs
checkjob -A 6235
(Moab will display job information in the
following format: <ATTRIBUTE>=<VALUE>;.)
--flags
FLAGS
--flags=future
---
evaluate future eligibility of job (ignore current resource state and
usage limitations)
checkjob -v --flags=future 6235
(Display reasons why idle
job is blocked ignoring node state and current node utilization constraints)
-h
HELP
---
provide output in the form of parsable Attribute-Value pairs
checkjob -A 6235
(Moab will display job information in the
following format: <ATTRIBUTE>=<VALUE>;.)
-l
POLICY LEVEL
<POLICYLEVEL>
HARD, SOFT, or OFF
---
report job start eligibility subject to specified throttling policy
level.
checkjob -l SOFT 6235 checkjob -l HARD 6235
-n
NODEID
<NODEID>
---
check job access to specified node and preemption status with regards to jobs located on that node
-q
QOS
<QOSID>
---
check job access to specified QoS <QOSID>
checkjob -q special 6235
-r
RESERVATION
<RSVID>
---
check job access to specified reservation <RSVID>
checkjob -r orion.1 6235
-v
VERBOSE
N/A
set verbose mode
checkjob -v 6235
Details
This command allows any Moab administrator to check the detailed status
and resource requirements of a active, queued, or recently completed job. Additionally, this command performs numerous diagnostic checks and determines if and where the job could potentially run. Diagnostic checks include policy violations, reservation constraints, preemption status, and job to resource mapping. If a job cannot run, a text reason is provided along with a summary of how many nodes are and are not available. If the -v flag is specified, a node by node summary of resource availability will be displayed for idle jobs.
Job Eligibility
If a job cannot run, a text reason is provided along with a summary of how many nodes are and are not available. If the -v flag is specified, a node by node summary of resource availability will be displayed for idle jobs. For job level eligibility issues, one of the following reasons will be given:
Reason
Description
job has hold in place
one or more job holds are currently in place
insufficient idle procs
there are currently not adequate processor resources available to start the job
idle procs do not meet requirements
adequate idle processors are available but these do not meet job requirements
start date not reached
job has specified a minimum start date which is still in the future
expected state is not idle
job is in an unexpected state
state is not idle
job is not in the idle state
dependency is not met
job depends on another job reaching a certain state
rejected by policy
job start is prevented by a throttling policy
If a job cannot run on a particular node, one of
the following 'per node' reasons will be given:
Class
Node does not allow required job class/queue
CPU
Node does not possess required processors
Disk
Node does not possess required local disk
Features
Node does not possess required node features
Memory
Node does not possess required real memory
Network
Node does not possess required network interface
State
Node is not Idle or Running
Reservation Access
The -r flag can be used to provide detailed information about job access to a specific reservation
Preemption Status
If a job is marked as a preemptor and the -v and -n flags are specified, checkjob will perform a job by job analysis for all jobs on the specified node to determine if they can be preempted.
Output
The checkjob command displays the following job attributes:
Attribute
Value
Description
Account
<STRING>
Name of account associated with job
Actual Run Time
[[[DD:]HH:]MM:]SS
Length of time job actually ran. NOTE: This info is only displayed in simulation mode.
Allocated Nodes
Square bracket delimited list of node and processor ids