[GE users] Get number of pending jobs per queue

soeren_g soeren.gerlach at quanteam.de
Mon Jul 27 10:18:53 BST 2009


Hello everybody,

is there a more brilliant way to gather the number of pending jobs for a certain queue than "qstat -s p -q <name> | wc" ,-) We would like to show this info for a small admin tool. It works but it involves that qstat eventually generates thousand of line of output just for the sake of getting counted... Any better way to retreive this number via DRMAA, command line tools etc. is highly appreciated ,-))


Thanks,
Soeren Gerlach

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=209688

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list