HP StorageWorks MSA 2/8 HP StorageWorks Advanced Performance Monitoring V3.1.x - Page 50

Deleting Filter-Based Monitors, Clearing Filter-Based Monitor Counters, Example.

Page 50 highlights

Using Advanced Performance Monitoring Deleting Filter-Based Monitors To delete a filter-based monitor, first list the valid monitor numbers using the perfShowFilterMonitor command, then use the perfShowFilterMonitor command to delete a specific monitor. If you do not specify which monitor number to delete, you will be asked if you want to delete all entries. Example. The following commands display the monitors on port 4 (the monitor numbers are listed in the KEY column), and then delete monitor number 1 on port 4. sw1:admin> perfShowFilterMonitor 4 There are 4 filter-based monitors defined on port 4. KEY ALIAS OWNER_APP OWNER_IP_ADDR FRAME_COUNT 0 SCSI Read TELNET N/A 0x0000000000002208 1 SCSI Write TELNET N/A 0x000000000000464a 2 SCSI R/W TELNET N/A 0x000000000000fd8c 3 SCSI Frame WEB_TOOLS 192.168.169.40 0x00000000002c2229 sw1:admin> perfDelFilterMonitor 4, 1 The specified filter-based monitor is deleted. Clearing Filter-Based Monitor Counters Prior to clearing statistics counters, verify all of the valid monitor numbers with user-defined aliases on a specific port using the perfShowFilterMonitor command to make sure the correct monitor counters are cleared. To clear statistics counters for all or a specified filter-based monitor, use the perfClearFilterMonitor command. Once the command has been executed, the telnet shell will confirm that the counters on the monitor have been cleared. Example. The following command clears the statistics counters for a filter-based monitor 4 on port 2 in slot 1. sw1:admin> perfClearFilterMonitor 1/2,4 Filter-based monitor number 4 counters are cleared 50 Advanced Performance Monitoring Version 3.1.x/4.1.x User Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86

Using Advanced Performance Monitoring
50
Advanced Performance Monitoring Version 3.1.x/4.1.x User Guide
Deleting Filter-Based Monitors
To delete a filter-based monitor, first list the valid monitor numbers using the
perfShowFilterMonitor
command, then use the
perfShowFilterMonitor
command to delete a specific monitor. If you do
not specify which monitor number to delete, you will be asked if you want to
delete all entries.
Example.
The following commands display the monitors on port 4 (the monitor
numbers are listed in the KEY column), and then delete monitor number 1 on port
4.
Clearing Filter-Based Monitor Counters
Prior to clearing statistics counters, verify all of the valid monitor numbers with
user-defined aliases on a specific port using the
perfShowFilterMonitor
command to make sure the correct monitor counters are cleared.
To clear statistics counters for all or a specified filter-based monitor, use the
perfClearFilterMonitor
command. Once the command has been
executed, the telnet shell will confirm that the counters on the monitor have been
cleared.
Example
. The following command clears the statistics counters for a filter-based
monitor 4 on port 2 in slot 1.
sw1:admin> perfShowFilterMonitor 4
There are 4 filter-based monitors defined on port 4.
KEY
ALIAS
OWNER_APP
OWNER_IP_ADDR
FRAME_COUNT
-------------------------------------------------------------
0
SCSI Read
TELNET
N/A
0x0000000000002208
1
SCSI Write TELNET
N/A
0x000000000000464a
2
SCSI R/W
TELNET
N/A
0x000000000000fd8c
3
SCSI Frame WEB_TOOLS
192.168.169.40 0x00000000002c2229
sw1:admin> perfDelFilterMonitor 4, 1
The specified filter-based monitor is deleted.
sw1:admin> perfClearFilterMonitor 1/2,4
Filter-based monitor number 4 counters are cleared