Command Reference Guide

602 Fabric OS Command Reference
53-1002746-01
perfMonitorClear
2
perfMonitorClear
Clears counters of end-to-end and ISL performance monitors on a port.
SYNOPSIS perfmonitorclear --class monitor_class
[slot/]port [monitorId]
DESCRIPTION Use this command to clear counters for performance monitors on a port, specified by class. Monitor
classes include end-to-end monitors (EE) and interswitch link monitors ISL).
Issuing the portStatsClear command on a port clears all end-to-end and filter-based monitors (but not
ISL monitors) for all the ports in the same quad.
NOTES Management of filter-based monitors is provided through the Frame Monitor management interface
(fmMonitor). Use fmMonitor to configure and manage filter-based monitors.
This command requires an Advanced Performance Monitoring license.
This command is not supported on virtual FC ports (VE/VEX_Port), EX_Port, M (Mirror) ports and GbE
ports.
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
OPERANDS This command has the following operands:
--class monitor_class
Specifies the monitor class as one of the following: EE (end-to-end) or ISL
(interswitch link). These values are case-sensitive. This operand is required.
slot
For bladed systems only, specifies the slot number of the port on which the
monitor counter is to be cleared, followed by a slash (/).
port
Specifies the number of the port on which the monitor counter is to be cleared,
relative to its slot for bladed systems. Use switchShow for a list of valid ports.
monitorId
Specifies the numeric key of the monitor to be deleted. The key is defined when a
monitor is created and can be displayed with the perfMonitorShow command.
This operand is optional. If no operand is specified, this command clears all
monitor counters of the specified monitor_class on the port. This operand does
not apply to ISL monitors.
EXAMPLES To clear statistics counters for an end-to-end monitor:
switch:admin> perfmonitorclear --class EE 1/2 5
End-to-End monitor number 5 counters are cleared
switch:admin> perfmonitorclear --class EE 1/2
This will clear ALL EE monitors' counters on port 2, \
continue? (yes, y, no, n): [no] y