beautypg.com

Identifying active measurements, Using the listactive entity-type command – HP NonStop G-Series User Manual

Page 59

background image

Configuring and Running Measurements

Measure User’s Guide 520560-003

3- 17

Viewing Reports From Active Counters

Identifying Active Measurements

To list currently active measurements, enter the STATUS MEASSUBSYS command:

10+ STATUS MEASSUBSYS
Number of Active (or Configured) Measurements = 1
$PERF.DATA.FILCPU

To list the configuration of an active measurement, enter the ADD MEASUREMENT
command to make the measurement available to MEASCOM and the INFO
MEASUREMENT command to display the configuration:

11+ ADD MEASUREMENT $PERF.DATA.FILCPU
12+ INFO MEASUREMENT $PERF.DATA.FILCPU
Add measurement $PERF.DATA.FILCPU -- Current Data File --
Data collected from system \HATI, MEASURE release version G10
From 5 Apr 2003, 17:15:10, Interval 30 Minutes
-- Add Cpu *
-- Add File $MYVOL.MYSUBVOL.*

Using the LISTACTIVE entity-type Command

To examine currently active counters, enter the LISTACTIVE

entity-type

command.

The format and output of this command are similar to those of the LIST

entity-type

command. However, the LISTACTIVE

entity-type

command displays data for only

one entity at a time.

You must specify a unique entity in the LISTACTIVE command because each
MEASCTL process uses the entity specification to locate the active counter record in
system counter space. In this example, the CPU, PIN, and file number (0,38,1)
uniquely identify the open of the user ID file.

13+ LISTACTIVE FILE * (0,38,1)
File Open $SYSTEM.SYSTEM.USERID
Opener 0,38 ($TMP) Program $SYSTEM.SYSTEM.TRANSACT File Num 1
Local System \HATI From 6 Dec 2003, 11:20:01 For 12 Seconds

File-Busy-Time

Disc-Reads

1.98

Reads 0.43

Write

0.92

Updates-or-Replies

Deletes-or-Writereads 0.67

Records-Used

Records-Accessed

Messages 3.51

Message-Bytes

0.10

Lock-Waits

Timeouts

Escalations

Info-Calls

You can use the FOR clause of the LISTACTIVE command to define a specific
timeframe for monitoring. For example, this command displays counter values for CPU

Note.

The LISTACTIVE

entity-type

command cannot be used to read active counters for

DISCOPEN or PROCESSH entities. If you specified a collection interval, you can read data for
these entities in an active data file by using either the LIST

entity-type

or the LISTALL

entity-type

command. If you did not specify a collection interval, you cannot view the data

until the measurement stops.