[GE users] usersets

reuti reuti at staff.uni-marburg.de
Fri Jan 15 11:30:00 GMT 2010


Hi,

Am 15.01.2010 um 10:52 schrieb cabrillo:

> Hi all,
>   Is there any way to know the number of jobs, r, qw,E, for an  
> "userset"?,
>   For a defined use,r there is no problem, but I have not found the  
> way to do this with an userset.

it's not directely available in qstat (you could file an RFE for  
this). For now this should do it:

qstat -u $(SGE_SINGLE_LINE=1 qconf -su my_userset | awk '/^entries/  
{ print $2 }')

or

qstat -u $(SGE_SINGLE_LINE=1 qconf -su my_userset | sed -n "/^entries/ 
s/^entries //p"

by replacing my_userset with the one in question.

-- Reuti


> Thanks in advance

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

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



More information about the gridengine-users mailing list