4. Monitoring Batch Jobs

The status of the NQS queues and associated jobs or list the attributes of a particular batch queue can be displayed and monitored using the NQS command qstat.

The general format of the qstat command to list the NQS queues for the current user's jobs is simply:

    qstat
There are various qstat flags (switches). They are:
  1. -a shows all requests;
  2. -u user-name shows only those requests belonging to user-name;
  3. queue shows jobs in a particular queue;
  4. -l standard NQS format with further detail;
  5. -s standard NQS format.

For more detailed information on the qstat flags, please refer to the qstat man page.

For example, the following output on Cosmos shows the result of the qstat -a -s command:

    short@cosmos;  type=PIPE;  [ENABLED, INACTIVE];  pri=16  lim=40
      0 depart;   1 route;   0 queued;   1 wait;   0 hold;   0 arrive;

    REQUEST NAME    REQUEST ID      USER   PRI     STATE   PGRP

 1:    gaussian1   1070.cosmos	 mpciipl    31	 ROUTING   2694
 2:       matlab   1072.cosmos   mchusd2    31   WAITING


    long@cosmos;  type=PIPE;  [ENABLED,RUNNING];  pri=16  lim=40
      0 depart;   2 route;   0 queued;   3 wait;   0 hold;   0 arrive;

    REQUEST NAME    REQUEST ID       USER   PRI     STATE    PGRP

 1:       myprog    957.cosmos    mpciizb    31   ROUTING   27068
 2:     test.com    958.cosmos    mcjssmy    31   ROUTING   27073
 3:        STDIN   1022.cosmos   mjkssea2    31   WAITING
 4:      lug.com   1026.cosmos   mpciiijr    31   WAITING
 5:       abaqus   1054.cosmos   mcgijkt3    31   WAITING

...previousup (conts)next...



About this document:

Produced from the SGML: /home/isd/public_html/_cosmeric/_nqs_user/_reml_grp/index.reml
On: 17/7/2003 at 18:7:12
Options: reml2 -i noindex -l long -o html -p multiple