beautypg.com

Creating the configuration – HP NonStop G-Series User Manual

Page 45

background image

Configuring and Running Measurements

Measure User’s Guide 520560-003

3 -3

Creating the Configuration

An entity specification describes a particular resource within an entity type. For
example, the specification for a CPU entity is a CPU number (0, 1, 2, and so on). The
specification for a DISC entity is a disk name ($DATA, $INFO, $BUYER, and so on).
The specification for a CLUSTER entity is a system name or a system name and CPU
number. You can measure specific resources or all resources of a particular type.

For entity specifications for each type of resource, see the Measure Reference Manual.

Creating the Configuration

To create a measurement configuration, use the ADD

entity-type

command to

specify the entities to be measured. For example, to build a configuration to measure
all CPUs, processes, and disks on a system plus all disk opens on $MYVOL:

4+ ADD CPU *
5+ ADD PROCESS *
6+ ADD DISC *
7+ ADD DISCOPEN $MYVOL.*.*

To exclude specific entities from a group of entities to be measured, use the DELETE

entity-type

command. For example, to exclude CPU 0 from the measurement

configuration:

8+ DELETE CPU 0

Also use the DELETE

entity-type

command to delete an ADD command from an

existing configuration. For example, to delete the ADD DISC * command:

9+ DELETE DISC *

To view the entities specified in a configuration, use the INFO

entity-type

command. For example:

10+ INFO DISCOPEN
Add Discopen $MYVOL.*.*
11+ INFO CPU
Add Cpu *
Delete Cpu 0

To reinclude an entity in a configuration, use the ADD

entity-type

command. For

example, to reinclude CPU 0 in the previously defined configuration:

12+ ADD CPU 0
13+ INFO CPU
Add CPU *

If you exit MEASCOM before starting the measurement, the configuration is not saved.

TERMINAL

Measures terminal and subdevice I/O.

TMF

Measures TMF transactions.

USERDEF

Measures activity in a user process that has been instrumented to
maintain user-defined counters.