While I like sview, I've always had a soft spot for the showq tool in PBS torque. It gives a great overview of the state of the queue as well as node usage. I liked it so much that I ported on over to SLURM:
https://github.com/pedmon/showq The users we have here seem to really like it as well, more than the LSF commands. I would like to do the same thing for SLURM. My understanding is the SLURM has an API that external programs can hook into but I haven't been able to track back documentation for this. Any insight as to how I might accomplish this? Or alternatively has anyone gotten ahead of me and done this? Here's an example of what showq looks like in LSF: [root@iliadaccess04 centos6]# showq -q nancy ACTIVE JOBS------------- JOBID USER STAT QUEUE CORES/NODES TIME REMAINING SUBMIT TIME START TIME 60050116 sgenel RUN nancy 128/64X 0:23:03:04 Apr 11 14:43 Apr 11 14:44 60161677 dnelson RUN nancy 256/32X 2:18:36:41 Apr 12 11:59 Apr 13 10:17 60391930 dnelson RUN nancy 128/16X 4:02:10:20 Apr 14 17:51 Apr 14 17:51 60660691 dnelson RUN nancy 128/16X 5:20:39:10 Apr 16 12:20 Apr 16 12:20 60714167 mvogelsb RUN nancy 64/ 8X 6:00:13:54 Apr 16 15:54 Apr 16 15:55 60714218 mvogelsb RUN nancy 64/ 8X 6:00:14:32 Apr 16 15:55 Apr 16 15:55 60714289 mvogelsb RUN nancy 64/ 8X 6:00:15:22 Apr 16 15:56 Apr 16 15:56 60726523 mvogelsb RUN nancy 64/ 8X 6:02:49:32 Apr 16 18:30 Apr 16 18:30 60175978 ptorrey RUN nancy 256/64X 6:08:17:20 Apr 12 16:37 Apr 16 23:58 60779153 dmunoz RUN nancy 4/ 1X 6:09:36:11 Apr 17 01:17 Apr 17 01:17 60867456 spb RUN nancy 8/ 1X 0:02:53:15 Apr 17 13:34 Apr 17 13:34 60867459 spb RUN nancy 8/ 1X 0:02:53:15 Apr 17 13:34 Apr 17 13:34 60867462 spb RUN nancy 8/ 1X 0:02:53:15 Apr 17 13:34 Apr 17 13:34 60867465 spb RUN nancy 8/ 1X 0:02:53:15 Apr 17 13:34 Apr 17 13:34 60893569 mvogelsb RUN nancy 64/ 8X 6:22:38:12 Apr 17 14:19 Apr 17 14:19 60895590 dmunoz RUN nancy 4/ 1X 6:22:47:00 Apr 17 14:27 Apr 17 14:28 60894627 mvogelsb RUN nancy 64/ 8X 6:23:46:39 Apr 17 14:21 Apr 17 15:27 60898885 fbecerra RUN nancy 8/ 1X 6:23:55:24 Apr 17 15:36 Apr 17 15:36 18 total jobs SUSPENDED JOBS------------- No matching jobs found Queue Summary 1328 of 1992 Cores Used (66.67%) 247 of 250 Nodes Used (98.80%) Overall Statistics for Nodes Available to this Queue 1328 of 1992 Cores Used (66.67%) 247 of 250 Nodes Used (98.80%), 0 Nodes Closed by Admin, 1 Nodes Unavailable Other Queues Which Submit To The Hosts For This Queue: priority PENDING JOBS------------- No matching jobs found -Paul Edmon-
