HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

394 Fabric OS commands
Clears counters of end-to-end, filter-based, and ISL performance monitors on a port.
Synopsis
perfmonitorclear --class monitor_class [slotnumber/]portnumber [monitorId]
Availability
admin
Description
Use this command to clear statistics counters for different classes of monitor. Monitor classes include
end-to-end monitors (EE), filter-based monitors (FLT), and ISL monitors (ISL).
Issuing portStatsClear command on a port results in all end-to-end and filter-based monitors being
cleared for all the ports in the same quad.
Operands
This operands are as follows:
Examples
To clear statistics counters for an end-to-end monitor:
To clear statistics counters for a filter-based monitor:
perfMonitorClear
--class The monitor class, which can be one of EE (end-to-end), FLT (filter-based),
or ISL (inter-switch link). This operand is required.
slotnumber For bladed systems only, this operand specifies the slot number of the
port on which the monitor is to be added, followed by a slash (/).
portnumber Specifies the number of the port on which the monitor is to be added,
relative to its slot for bladed systems. Use switchShow for a list of valid
ports.
monitorId Specifies the monitor number to clear. Monitor numbers are defined are
created, and can be displayed using perfMonitorShow. This operand
is optional; if omitted, this command clears all monitor counters of the
appropriate monitor_class on the port. This operand does not apply
to ISL monitors.
switch:admin> perfMonitorClear 1/2 5
End-to-End monitor number 5 counters are cleared
switch:admin> perfMonitorClear 1/2
This will clear ALL EE monitors' counters on port 2, continue?
(yes, y, no, n): [no] y
switch:admin> perfMonitorClear --class FLT 1/2 4
Filter-based monitor number 4 counters are cleared
switch:admin> perfMonitorClear --class FLT 1/2
This will clear ALL filter-based monitors' counters on port 2, continue?
(yes, y, no, y): [no] y