Fabric OS Administrator's Guide v7.0.0 (53-1002148-02, June 2011)
Fabric OS Administrator’s Guide 399
53-1002148-02
End-to-end performance monitoring
19
Example of displaying an end-to-end monitor on a port at 10-second intervals
switch:admin> perfMonitorShow --class EE 4/5 10
Showing EE monitors 4/5 10: Tx/Rx are # of bytes
01234
--------- --------- --------- --------- ---------
Tx Rx Tx Rx Tx Rx Tx Rx Tx Rx
========= ========= ========= ========= =========
00 00 00 00 00
53m 4.9m 53m 4.9m 53m 4.9m 53m 4.9m 53m 0
53m 4.4m 53m 4.4m 53m 4.4m 53m 4.4m 53m 0
53m 4.8m 53m 4.8m 53m 4.8m 53m 4.8m 53m 0
53m 4.6m 53m 4.6m 53m 4.6m 53m 4.6m 53m 0
53m 5.0m 53m 5.0m 53m 5.0m 53m 5.0m 53m 0
53m 4.5m 53m 4.5m 53m 4.5m 53m 4.5m 53m 0
Example of displaying EE monitors on a port
switch:admin> perfMonitorShow --class EE 4/5
There are 7 end-to-end monitor(s) defined on port 53.
KEY SID DID OWNER_APP TX_COUNT RX_COUNT OWNER_IP_ADDR
------------------------------------------------------------------------------------------
0 0x58e0f 0x1182ef TELNET 0x0000000000000000 0x0000000000000000 N/A
0 0x21300 0x21dda TELNET 0x00000004d0ba9915 0x0000000067229e65 N/A
1 0x21300 0x21ddc TELNET 0x00000004d0baa754 0x0000000067229e65 N/A
2 0x21300 0x21de0 TELNET 0x00000004d0bab3a5 0x0000000067229e87 N/A
3 0x21300 0x21de1 TELNET 0x00000004d0bac1e4 0x0000000067229e87 N/A
4 0x21300 0x21de2 TELNET 0x00000004d0bad086 0x0000000067229e87 N/A
5 0x11000 0x21fd6 WEB_TOOLS 0x00000004d0bade54 0x0000000067229e87 192.168.169.40
6 0x11000 0x21fe0 WEB_TOOLS 0x00000004d0baed41 0x0000000067229e98 192.168.169.40
Clearing end-to-end monitor counters
You can use this procedure to clear statistics counters for end-to-end monitors.
1. Connect to the switch and log in as admin.
2. Enter the perfmonitorshow command, to display the monitor numbers on a specific port.
perfmonitorshow --class monitor_class [slotnumber/]portnumber
3. Enter the perfmonitorclear command.
perfmonitorclear --class monitor_class [slotnumber/]portnumber [monitorId]
The following example clears 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