You are here: 3 Scheduler Commands > Commands > mdiag > mdiag -T

3.24 mdiag -T

3.24.1 Synopsis

mdiag -T [triggerid] [-v] [--blocking]

3.24.2 Overview

The mdiag -T command is used to present information about each Trigger. The information presented includes TrigID, Object ID, Event (Etype) TType, Attype, ActionDate, State. The command gathers information from the Moab cache which prevents it from waiting for the scheduler, but the --blocking option can be used to bypass the cache and allow waiting for the scheduler.

3.24.3 Examples

Example 3-24:  

> mdiag -T
TrigID                Object ID               Event TType    AType ActionDate           State
--------------------- -------------------- -------- -------- ----- -------------- -----------
sched_trig.0          sched:Moab                end generic   exec              -     Blocked  
3                     node:node010         threshol generic   exec              -     Blocked  
5                     job:Moab.7            preempt generic   exec              -     Blocked  
6                     job:Moab.8            preempt generic   exec              -     Blocked
7                     qos:HIGH             threshol elastic   exec              -     Blocked  
4*                    job:Moab.5              start generic   exec        0:00:36     Failure  
* indicates trigger has completed

Example 3-25:  

> mdiag -T -v
TrigID                Object ID               Event TType     AType           ActionDate       State
--------------------- -------------------- -------- -------- -------  -------------------- -----------
sched_trig.0          sched:Moab                end generic    exec                    -     Blocked  
  Name:          sched_trig
  Flags:         globaltrig
  BlockUntil:    INFINITY  ActiveTime:  ---
  Action Data:   date
  NOTE:  trigger can launch

3                     node:node010         threshol generic    exec                    -     Blocked  
  Flags:         globaltrig
  BlockUntil:    INFINITY  ActiveTime:  ---
  Threshold:     CPULoad > 3.00  (current value: 0.00)
  Action Data:   date
  NOTE:  trigger cannot launch - threshold not satisfied - threshold type not supported

5                     job:Moab.7            preempt generic    exec                    -     Blocked  
  Flags:         user,globaltrig
  BlockUntil:    INFINITY  ActiveTime:  ---
  Action Data:   $HOME/tools/preemptnotify.pl $OID $OWNER $HOSTNAME

6                     job:Moab.8            preempt generic    exec                    -     Blocked  
  Flags:         user,globaltrig
  BlockUntil:    INFINITY  ActiveTime:  ---
  Action Data:   $HOME/tools/preemptnotify.pl $OID $OWNER $HOSTNAME
  NOTE:  trigger cannot launch - parent job Moab.8 is in state Idle
 
7                     qos:HIGH             threshol elastic    exec                    -     Blocked   
  Flags:         multifire,globaltrig
  BlockUntil:    INFINITY  ActiveTime:  ---
  Timeout:       00:05:00
  Threshold:     BacklogCompletionTime > 500.00  (current value: 0.00)
  Trigger Type:  elastic
  RearmTime:     00:00:10
  Action Data:   $HOME/geometry.pl $REQUESTGEOMETRY
  NOTE:  trigger cannot launch - threshold not satisfied - threshold not satisfied - requires usage 0.000000 > 500.000000
 
4*                    job:Moab.5              start generic    exec  Mon Jan 16 12:33:00     Failure  
  Launch Time:   -00:02:17
  Flags:         globaltrig
  Last Execution State: Failure (ExitCode: 0)
  BlockUntil:    00:00:00  ActiveTime:  00:00:00
  Action Data:   $HOME/tools/preemptnotify.pl $OID $OWNER $HOSTNAME
  ALERT:  trigger failure detected
  Message:       'exec '/usr/test/moab/tools/preemptnotify.pl' cannot be located or is not executable'

* indicates trigger has completed

© 2016 Adaptive Computing