Rémy Dernat
2013-06-27 12:22:23 UTC
Hi,
I would like to count the number of slots used for a specific user.
I am doing something like this:
nb_slots=`qstat -s r|grep -w $USER |awk 'BEGIN { ORS="+" } {print
$9}'`;echo "$nb_slots 0"|bc
However, I don't think it is working for jobs with many threads.
Is there any possibility to check that in an easy way ?
Thanks,
Regards,
Remy
I would like to count the number of slots used for a specific user.
I am doing something like this:
nb_slots=`qstat -s r|grep -w $USER |awk 'BEGIN { ORS="+" } {print
$9}'`;echo "$nb_slots 0"|bc
However, I don't think it is working for jobs with many threads.
Is there any possibility to check that in an easy way ?
Thanks,
Regards,
Remy