beautypg.com

HP NonStop G-Series User Manual

Page 117

background image

Creating a Custom Measurement Application

Measure User’s Guide 520560-003

6 -5

Defining Entities

Each entity descriptor contains these fields:

The remaining fields in a descriptor vary according to entity type. In many fields,
including the

cpu

^

number

field, you can use wild-card values to describe a set of

entities. For example, in a CPU entity descriptor, you can use the literal ALL in the

cpu

^

number

field to specify all CPUs on the system. You can also use the wild-card

character, an asterisk (*), in name fields. (However, when Measure reads from active
counters, the entity descriptor you pass to MEASREADACTIVE must specify only one
entity.)

All disk file, system, device, and process names must be in local internal name format.
If you use an asterisk in a name field or subfield, you must include the appropriate
leading character (\, $, or #) and pad the field with blanks. For an exact definition of
each entity descriptor and its allowable field values, see the description of the
MEASCONFIGURE procedure in the Measure Reference Manual.

TERMINAL

DEVICE^DESC WAN^DESC

TERM^T

13

TMF

CPU^DESC

CPU^DESC

TMF^T

14

SQLPROC

SQLPROC^DESC

SQLPROC^DESC
SQLPROC^OSS^DESC

SQLPROC^T

15

SQLSTMT

SQLSTMT^DESC

SQLSTMT^DESC
SQLSTMT^OSS^DESC

SQLSTMT^T

16

OPDISK OPDISK^DESC

Not

applicable

OPDISK^T

17

CONTROLLER

CTRL^DESC

Not applicable

CTRL^T

18

SERVERNET

Not applicable

SVNET^DESC

SVNET^T

18

DISKFILE

DISKFILE^DESC

DISKFILE^DESC
DISKFILE^OSS^DESC

DISKFILE^T

19

OSSCPU

Not applicable

CPU^DESC

OSSCPU^T

20

OSSNS

Not applicable

OSSNS^DESC

OSSNS^T

21

Maximum value

MAX^T

24

CONTAB trailer

CONTAB^TRAILER

CONTAB^TRAILER

CONTAB^TRAILER^T

51

type

A number that identifies the type of entity being defined. The MEASDECS
file declares some literal identifiers for these numbers. For numeric
identifiers and corresponding literals, see

Table 6-2

.

len

The length, in bytes, of the descriptor.

cpu

^

number

The number of the CPU in which the entity resides.

Table 6-2. MEASDECS Entity Descriptors (page 2 of 2)

Section

Descriptor
Template
Structure
(Systems Running
D-Series RVUs)

Descriptor Template
Structure (Systems Running
G-Series RVUs)

Type Literal

Numeric
Identifier