Discussion:
[torqueusers] showstats command
Mahmood N
2017-03-29 10:30:47 UTC
Permalink
Hi,
The output of showstats command is not meaningful as I tested with a very simple job. The job is a sleep command for 60 seconds running on the head node and only one core was incorporated.

#!/bin/bash
#PBS -q default
#PBS -l nodes=cluster:ppn=1
#PBS -N test
#PBS -V
#PBS -o test.out
#PBS -j oe
cd $PBS_O_WORKDIR
sleep 60


As I submit the script, I repeatedly execute "showstats -u mahmood". At first it was 0 for active job then after some seconds, the prochours was 2399.99!!!!! After 60 seconds, the actives were zero but the completed stats didn't change at all!!
At least I expected to see a change in the completed stats. Please see the output below and note the timestamps:

***@cluster:mahmood# showstats -u mahmood
statistics initialized Thu Jan  1 03:30:00

        |------ Active ------|--------------------------------- Completed -----------------------------------|
user      Jobs Procs ProcHours Jobs    %    PHReq    %    PHDed    %  FSTgt  AvgXF  MaxXF  AvgQH  Effic  WCAcc
mahmood      1    1      0.00  227  11.15 2702399.7  7.47  872.3  0.21 -----  0.00  0.00  0.01 143.70  0.02

***@cluster:mahmood# showstats -u mahmood
statistics initialized Thu Jan  1 03:30:00

        |------ Active ------|--------------------------------- Completed -----------------------------------|
user      Jobs Procs ProcHours Jobs    %    PHReq    %    PHDed    %  FSTgt  AvgXF  MaxXF  AvgQH  Effic  WCAcc
mahmood      1    1  2399.99  227  11.15 2702399.7  7.47  872.3  0.21 -----  0.00  0.00  0.01 143.70  0.02


***@cluster:mahmood# showstats -u mahmood
statistics initialized Thu Jan  1 03:30:00

        |------ Active ------|--------------------------------- Completed -----------------------------------|
user      Jobs Procs ProcHours Jobs    %    PHReq    %    PHDed    %  FSTgt  AvgXF  MaxXF  AvgQH  Effic  WCAcc
mahmood      0    0      0.00  228  11.20 2704799.7  7.47  872.3  0.21 -----  0.00  0.00  0.01 143.70  0.02




Any idea about that?

Regards,
Mahmood

Loading...