[Mauiusers] command to find total number of jobs of a given user

Rahul Nabar rpnabar at gmail.com
Tue Jun 15 14:32:46 MDT 2010


On Tue, Jun 15, 2010 at 2:42 PM, Ole Holm Nielsen
<Ole.H.Nielsen at fysik.dtu.dk> wrote:
> Rahul Nabar<rpnabar at gmail.com> wrote:
>> Is there a torque / maui command that can allow me to find the total
>> number of jobs / nodes occupied by a certain user at any point of
>> time? Couldn't see a way out by using qstat, showq or diagnose but
>> maybe I am missing the obvious.
>
> We use the script "showuserjobs" which you can download from
> ftp://ftp.fysik.dtu.dk/pub/Torque/showuserjobs
> This script parses the output of "showq" and reads user/group
> information from /etc/passwd and /etc/group.  The output may
> look like this example:

Thanks very much! This looks promising. I'll download that script and use it.

-- 
Rahul


More information about the mauiusers mailing list