Phy object commands, Cx/phyx show – Avago Technologies 3ware SAS 9750-16i4e User Manual

Page 110

Advertising
background image

Chapter 2. CLI Syntax Reference

102

3ware SATA+SAS RAID Controller Card CLI Guide, Version 10.2

This command allows you to clear 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” on page 98.

Please note that if type=ra, both the Running Average and Histogram data are
cleared. If type=lct, only the Long Command Times data is 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 listing for Histogram data would also be all zeros.

Phy Object Commands

These commands apply only to 9750 and 9690SA controllers.

Phy Object Commands are sent to an instance of a controller phy such as
/c0/phy0.

Syntax

/cx/phyx show

/cx/phyx set link=auto|1.5|3.0|6.0

/cx/phyx show

The /cx/phyx show command presents a summary report on the specified phy.
In the following example, the link speed of the phy is shown in three columns:

Advertising