Fabric OS reference guide
perfmonitorclear
Clears statistics counters of end-to-end, filter-based, and ISL monitors on a port.
Syntax
perfmonitorclear "monitor_class", port [, monitorId]
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 interswitch link (ISL)
monitors. For end-to-end and filter-based counters, a monitor ID can be specified to clear only
a particular monitor on a port. Use the perfmonitorclear command to ensure that the
correct monitor counters are cleared.
After a successful execution of this command, the telnet shell confirms that this monitor's
counters have successfully been cleared.
Issuing the portstatsclear command on a port also results in all monitors being cleared
for all the ports in the same quad.
Operands
This command has the following operands:
monitor_class
port
monitorId
Examples
To clear statistics counters for an end-to-end monitor:
switch:admin> perfMonitorClear "EE", 2, 5
End-to-End monitor number 5 counters are cleared
To clear statistics counters for a filter-based monitor:
switch:admin> perfMonitorClear "FLT", 4, 0
Monitor 0 counters are cleared
192
The monitor class, which can be one of EE (end-to-end),
FLT (filter-based), or ISL (interswitch link).
Specifies the port number in which to clear the counters.
This operand is required.
Specifies the monitor number to clear. Monitor numbers are
defined when you create the monitor on a port. This
operand is optional. If not specified, all monitor counters on
the port are cleared. This argument does not apply to ISL
monitors.
Fabric OS 3.x Document Addendum