3ware HTML Bookshelf



3ware® CLI Guide > CLI Syntax Reference > Port Object Commands > /cx/px set dpmstat=clear [type=ra|lct|ext]

/cx/px set dpmstat=clear [type=ra|lct|ext]
This command only applies to 9000 series SX/SE/SA controllers, except for type=ext, which applies only to SE/SA models.
This command allows you to clear the data buffers of accumulated statistics information. There are two reasons to clear this data:
*
Once dpmstat is enabled, statistics information continues to accumulate. Eventually it can cause a buffer overflow, causing all statistics information to be rendered as ####.
*
You wish to have fresh data, such as when switching between benchmarking writes to benchmarking reads.
This command clears the statistics counters of the Drive Performance Monitor. The optional type attribute specifies which statistics should be cleared. The options are: ra for Running Average, lct for Long Command Times, and ext for Extended Drive Statistics. For more about these statistics, see /cx/px show dpmstat type=inst|ra|lct|histdata|ext.
Please note that if type=ra, both the Running Average and Histogram data are cleared. If type=lct, only the Long Command Times data will be cleared. And if type=ext, the extended drive statistics are cleared. If no type is specified, the default is the same as type=ra. Note that there are no direct commands for clearing only histogram data, or for clearing instantaneous data.
Example of clearing Running Average and Histdata statistics:
 //localhost> /c0/p3 set dpmstat=clear type=ra
 Clearing Drive Performance Monitor running average data on /c0/p3 ... Done.
 Please note this clears the Running Average and Histogram data.
 
Example of clearing when I/O traffic has been stopped
If I/O traffic to the drive has been stopped, after clearing, a subsequent request to show the running average statistics would show all zeros.
 
 //localhost> /c0/p3 show dpmstat type=ra
 
                               Queue           Xfer         Resp
 Port     Status    Unit   Depth   IOPs    Rate(MB/s)   Time(ms)
 --------------------------------------------------------------
 p3       OK        u0     0       0       0.000        0
 
Similarly, the display for Histogram data would also be all zeros.

Copyright AMCC 2004-2008
To contact Support, log in at https://www.3ware.com

www.3ware.com
1-858-535-6517
1-800-840-6055