beautypg.com

Clearing end-to-end monitor counters, Filter-based performance monitoring, Adding standard filter-based monitors – HP StorageWorks 8B FC Entry Switch User Manual

Page 28: Telnet command, Description, 3clearing end-to-end monitor counters

background image

3-8

Advanced Performance Monitoring User’s Guide

Using Advanced Performance Monitoring

3

Clearing End-to-End Monitor Counters

To clear all of the end-to-end monitor counters on a port, use the perfSetPortEEMask command to
reset all of the end-to-end monitor counters on that port.

Note:

The perfSetPortEEMask command also sets the end-to-end mask, so if you do not
want to change the mask, you must re-specify the current mask settings. You can view
the current mask settings using the perfShowPortEEMask command.

To clear the counters for a single end-to-end monitor, delete the monitor using the
perfDelEEMonitor command, and then add the monitor again, using the perfAddEEMonitor
command.

Filter-based Performance Monitoring

Filter-based monitoring counts the number of times a particular command or frame type is received
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 read command filter that counts the number of read
commands that have been received by the port) or a user-defined filter that you customize for your
particular use.

The maximum number of filters is eight per port, in any combination of standard filters and
user-defined filters.

Adding Standard Filter-Based Monitors

This section describes how to add standard filter-based monitors to a port. Use the telnet commands
listed in

Table 3-1

to define filter-based monitors on a port.

Example. These commands add several filter-based monitors to port 2 and display the results.

Table 3-1

Telnet 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