Technical data

14-8 Fabric OS Administrator’s Guide
Publication Number: 53-0000518-09
Monitoring Filter-Based Performance
14
You can monitor filter-based performance using the perfMonitorShow command, as described in
“Displaying Monitor Counters” on page 14-11. You can clear filter-based counters using the
perfMonitorClear command, as described in “Clearing Monitor Counters” on page 14-14.
Adding Standard Filter-based Monitors
Table 14-2 lists the commands for adding standard filter-based monitors to a port.
The following example adds filter-based monitors to slot 1, port 2 and displays the results:
Adding Custom Filter-Based Monitors
In addition to the standard filters—read, write, read/write, SCSI frame and IP frame—you can create
custom filters to gather statistics that fit your needs.
To define a custom filter, use the perfAddUserMonitor command. With this command, you must
specify a series of offsets, masks, and values. For all transmitted frames, the switch performs these
tasks:
Locates the byte found in the frame at the specified offset.
Table 14-2 Commands to Add Filter-Based Monitors
Telnet command Description
perfAddReadMonitor Count the number of SCSI Read commands
perfAddWriteMonitor Count the number of SCSI Write commands
perfAddRwMonitor Count the number of SCSI Read and Write commands
perfAddScsiMonitor Count the number of SCSI traffic frames
perfAddIpMonitor Count the number of IP traffic frames
switch:admin> perfaddreadmonitor 1/2
SCSI Read filter monitor #0 added
switch:admin> perfaddwritemonitor 1/2
SCSI Write filter monitor #1 added
switch:admin> perfaddrwmonitor 1/2
SCSI Read/Write filter monitor #2 added
switch:admin> perfaddscsimonitor 1/2
SCSI traffic frame monitor #3 added
switch:admin> perfaddipmonitor 1/2
IP traffic frame monitor #4 added
switch:admin> perfmonitorshow --class FLT 1/2
There are 5 filter-based monitors defined on port 2.
KEY ALIAS OWNER_APP OWNER_IP_ADDR FRAME_COUNT
----------------------------------------------------------------
0 SCSI Read TELNET N/A 0x0000000000000000
1 SCSI Write TELNET N/A 0x0000000000000000
2 SCSI R/W TELNET N/A 0x0000000000000000
3 SCSI Frame TELNET N/A 0x0000000000000000
4 IP Frame TELNET N/A 0x0000000000000000