HP StorageWorks Fabric OS 6.x administrator guide (5697-7344, March 2008)
Fabric OS 6.x administrator guide 351
Monitoring filter-based performance
Filter-based performance monitoring counts the number of times a frame with a particular pattern is
transmitted by a port. Filter-based monitoring is achieved by configuring a filter for a particular purpose.
The filter can be a standard filter (for example, a SCSI read command filter that counts the number of SCSI
read commands that have been transmitted by the port) or a user-defined filter customized for your
particular use.
For the 4/8 SAN Switch and 4/16 SAN Switch models, the maximum number of filters is 8 per port, in
any combination of standard filters and user-defined filters.
For the SAN Switch 4/32, 4/64 SAN Switch, SAN Switch 4/32B, 400 Multi-protocol Router, and DC
Director models, the maximum number of filters is 12 per port, in any combination of standard filters and
user-defined filters.
For the 4/256 SAN Director models, the maximum number of filters is 12 per port, in any combination of
standard filters and user-defined filters, except for the FC4-48 port blade. For the FC4-48 port blade:
• The lower 16 ports (ports 0 through 15) have a maximum of 12 filter monitors per port, and 15 offsets
per port for used defined monitors.
• The middle 16 port (ports 16 through 31) have a maximum of 6 filter monitors per port, and 11 offsets
per port for used defined monitors.
• The upper 16 ports (ports 32 through 47) do not support filter monitors.
The actual number of filters that can be configured on a port depends on the complexity of the filters. For
trunked ports, the filter is configured on the trunk master.
You can monitor filter-based performance using the perfMonitorShow command, as described in
”Displaying monitor counters” on page 357. You can clear filter-based counters using the
perfMonitorClear command, as described in ”Clearing monitor counters” on page 361.
Adding standard filter-based monitors
Table 78 lists the commands for adding standard filter-based monitors to a port.
You cannot add identical filter monitors to the same port. Two filter monitors are considered to be identical
when they have the same values for the following items.
• Filter monitor type
• Owner (telnet, Web Tools, etc.)
• Alias
The following example adds filter-based monitors to slot 1, port 2 and displays the results:
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
Table 78 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