If sreport doesn't currently give you what you want you can probably add a new 
report to do this.

Sefa Arslan <[email protected]> wrote:

>
>in order to see the number of used cores  in the cluster (or a 
>partition) at a given time I use the following command:
>
>sacct --start=2012-11-01T00:00:00 --end=2012-11-01T00:00:01 
>--format=ncpus|grep -v batch|grep -v "\." |grep  -v NCPUS |grep -v 
>"\-\-"|awk 'BEGIN{cou=0}{cou=$1+cou}END{print cou}'
>
>PS: difference between start and end is only 1 second.
>
>I use the same command with current time  for start and end parameters 
>in order to  see the  number of cores currently being used.
>
>is there a simpler way to see cluster load  something like showstate 
>(there was showq and showstate commands for maui,)

Reply via email to