Commands - mdiag -j (job)
Moab Workload Manager®

mdiag -j

(Moab Job Diagnostics)

Synopsis

mdiag -j [jobid] [-v] [--flags=policy] [--format=xml]

Overview

The mdiag -j command provides detailed information about the state of jobs Moab is currently tracking.  This command also performs a large number of sanity and state checks.  The job configuration and status information as well as the results of the various checks are presented by this command.  If the '-v' (verbose) flag is specified, additional information about less common jobs attributes is displayed.  If '--flags=policy' is specified, information about job templates is displayed.

XML Output

   If XML output is requested (via the --format=xml argument), XML based node information will be written to STDOUT in the following format:

mdiag -n --format=xml
<Data>
  <job ATTR="VALUE" ... > </job>
  ...
</Data>

   Legal attributes are listed in the table below:

Attribute Value Format Value Description Example
AWDuration <INTEGER> allocated wall duration 13040
BlockReason <STRING> human readable string indicating why job cannot immediately execute Hold:user hold is in place
CmdFile <STRING> name of job executable /usr/local/sbin/jasper13
EEDuration <INTEGER> effective eligible duration (length of time job has been eligible to run) 3711
EState <STRING> (details) expected job state running
Flags <STRING> job flags restartable
Group <STRING> name of requestor group credential staff
JobID <STRING> unique job identifier apex.14223
RM <STRING> authoritative resource manager for job state TORQUE13
ReqAWDuration <STRING> requested wall duration 42000
ReqNodes <INTEGER> required number of nodes 16
ReqProcs <INTEGER> required number of processors 16
StartCount <INTEGER> number of times job has been started (large values indicate repeated failures) 1
StartPriority <INTEGER> job's relative start priority (higher priority jobs start ahead of lower priority jobs) 1643656
StartTime <INTEGER> epoch time of most recent job start 1078311535
State <STRING> (details) reported job state running
User <STRING> user submitting job jsmith

See Also