There are two commands to view the status of jobs running on the cluster, qstat and showq.  Here are the commands and some sample output:

[student@linuxremote1 ~/cluster]$ qstat
Job id                    Name             User        Time Use S Queue
------------------------- ---------------- ----------- -------- - -----
103372.clusterhead        helloworld       student            0 R fairshare
103373.clusterhead        helloworld       student            0 R fairshare
103374.clusterhead        helloworld       student            0 R fairshare
103375.clusterhead        helloworld       student            0 R fairshare
103376.clusterhead        helloworld       student            0 R fairshare
103377.clusterhead        helloworld       student            0 R fairshare

and

[student@linuxremote1 ~/cluster]$ showq

active jobs------------------------
JOBID          USERNAME    STATE PROCS   REMAINING            STARTTIME
103372          student  Running     1     364days  Thu Oct 29 09:12:55
103373          student  Running     1     364days  Thu Oct 29 09:12:56
103374          student  Running     1     364days  Thu Oct 29 09:12:57
103375          student  Running     1     364days  Thu Oct 29 09:12:57
103376          student  Running     1     364days  Thu Oct 29 09:12:57
103377          student  Running     1     364days  Thu Oct 29 09:12:57

6 active jobs          6 of 80 processors in use by local jobs (7.50%)
                       6 of 9 nodes active  (66.67%)

eligible jobs----------------------
JOBID          USERNAME    STATE PROCS     WCLIMIT            QUEUETIME
0 eligible jobs

blocked jobs-----------------------
JOBID          USERNAME    STATE PROCS     WCLIMIT            QUEUETIME

0 blocked jobs

Total jobs:  6

For additional information or assistance, please contact the Tech Desk at 570.577.7777 or techdesk@bucknell.edu.

Keywords: hpc, Linux, linux cluster