jitendra@clusterfs.com
2007-Feb-07  08:11 UTC
[Lustre-devel] [Bug 10963] Improve llstat.pl for IOkit
Please don''t reply to lustre-devel. Instead, comment in Bugzilla by
using the following link:
https://bugzilla.lustre.org/show_bug.cgi?id=10963
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pjones@clusterfs.com
Improved llstat.pl:
==================        This tool reads the required statistics information
from
user specified stat file, process the information and prints
output after every interval specified by user.
        For syantx and other information on this tool please see
help for this tool.
Locatoin: lustre/utils/
Example output for this tool is as follows,
[jitendra@matrix utils]$ ./llstat.pl -i 1 ost
./llstat.pl: STATS on 02/07/07 /proc/fs/lustre/ost/OSS/ost/stats on
192.168.1.21@tcp
Processor counters run at 1995.875 MHz
snapshot_time             1170837091.29419
req_waittime              28365
req_qdepth                28365
req_active                28365
reqbuf_avail              28365
ost_create                1
ost_set_info              1
obd_ping                  28363
/proc/fs/lustre/ost/OSS/ost/stats @ 1170837092.35421
Name                      Cur.Count  Cur.Rate   #Events   Unit           last  
     min          avg        max    stddev
req_waittime              2          2          28367     [usec]       234.50  
      26       244.18        435 36.04
req_qdepth                2          2          28367     [reqs]         0.50  
       0         0.50          1 0.50
req_active                2          2          28367     [reqs]         1.00  
       1         1.00          1 0.00
reqbuf_avail              2          2          28367     [bufs]        64.00  
      63        63.95         64 0.21
ost_create                0          0          1         [usec]         0.00  
     294       294.00        294 0.00
ost_set_info              0          0          1         [usec]         0.00  
     134       134.00        134 0.00
obd_ping                  2          2          28365     [usec]        52.50  
      35        53.76         96 10.06
/proc/fs/lustre/ost/OSS/ost/stats @ 1170837093.41263
Name                      Cur.Count  Cur.Rate   #Events   Unit           last  
     min          avg        max    stddev
req_waittime              0          0          28367     [usec]         0.00  
      26       244.18        435 36.04
req_qdepth                1          0          28367     [reqs]         0.00  
       0         0.50          1 0.50
req_active                0          0          28367     [reqs]         0.00  
       1         1.00          1 0.00
reqbuf_avail              0          0          28367     [bufs]         0.00  
      63        63.95         64 0.21
ost_create                0          0          1         [usec]         0.00  
     294       294.00        294 0.00
ost_set_info              0          0          1         [usec]         0.00  
     134       134.00        134 0.00
obd_ping                  0          0          28365     [usec]         0.00  
      35        53.76         96 10.06
[jitendra@matrix utils]$
        plot-llstat.pl is added with this tool for csv file and graph
generation. Its placed at the same locaton as llstat.pl.
        For feedback on this tool please visit,
Please don''t reply to lustre-devel. Instead, comment in Bugzilla by
using the following link:
https://bugzilla.lustre.org/show_bug.cgi?id=10963