Monday, June 10, 2013

Using mdiag -j to provides detailed information about the state of jobs

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.

Display user1 jobs
# mdiag -j -w user=user1

Display Idle and Running Jobs
# mdiag -j -w state=Idle,Running

Display the subjobs of an array.
# mdiag -j --xml job_id 
In the XML, the master job element contains a child element called ArraySubJobs that contains the subjobs in the array.

Display the subjobs in the array and completed sub-joys as well
# mdiag -j -v --xml job_id

For more information, read
  1. MOAB Commands

No comments: