Garrick Staples wrote:
>> 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
> 
> Instead of reading /etc/passwd and /etc/group directly, consider using the
> commands 'getent passwd' and 'getent group'. It would allow the script to work
> in NIS, LDAP, etc. environments.

Thanks a lot for this suggestion, Garrick !

I updated the script in ftp://ftp.fysik.dtu.dk/pub/Torque/showuserjobs

Best regards,
Ole
_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers

Reply via email to