beautypg.com

Defining entities, Table 6-2, Measdecs entity descriptors – HP NonStop G-Series User Manual

Page 116: Table 6-2, measdecs entity descriptors

background image

Creating a Custom Measurement Application

Measure User’s Guide 520560-003

6 -4

Defining Entities

Before you call the first procedure that uses the control block, you must initialize each
element in the block to -1:

MEASCB.FIRSTWORD ':=' -1 & MEASCB.FIRSTWORD
FOR (($LEN(MEASCB)>>1) - 1);

The control block is used to store data for procedure calls. Do not modify the contents
of the block for subsequent Measure procedure calls.

Defining Entities

The entity descriptors define what is to be measured.

The MEASDECS file declares template structures for the entity descriptors.

Table 6-2

shows which template structure to use for each entity type.

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

Section

Descriptor
Template
Structure
(Systems Running
D-Series RVUs)

Descriptor Template
Structure (Systems Running
G-Series RVUs)

Type Literal

Numeric
Identifier

CONTAB
header

CONTAB^HDR

CONTAB^HDR

CONTAB^T

50

CPU

CPU^DESC

CPU^DESC

CPU^T

1

PROCESS

PROCESS^DESC

PROCESS^DESC
PROCESS^OSS^DESC

PROCESS^T

2

PROCESSH

PROCESSH^DESC

PROCESSH^DESC
CODE^SPACE^DESC
PROCESSH^OSS^DESC
CODE^SPACE^OSS^DESC

PROCESSH^T

3

USERDEF

USERDEF^DESC

USERDEF^DESC
COUNTER^DESC
USERDEF^OSS^DESC

USERDEF^T

4

FILE

FILE^OPEN^DESC

FILE^OPEN^DESC
FILE^OPEN^DESC^D10
FILE^OPEN^OSS^DESC
FILE^OPEN^OSS^DESC^D10

FILOP^T

5

DISCOPEN

FILE^OPEN^DESC

FILE^OPEN^DESC
FILE^OPEN^OSS^DESC

DFILOP^T

6

DISC

DEVICE^DESC DEVICE^SVNET^DESC

DEVICE^SVNET^DESC^G05

DISC^T

7

DEVICE

DEVICE^DESC DEVICE^SVNET^DESC

DEVICE^SVNET^DESC^G05

IODEV^T

8

LINE

DEVICE^DESC WAN^DESC

LINE^T

9

NETLINE

DEVICE^DESC WAN^DESC

NETLINE^T

10

SYSTEM

SYSTEM^DESC

SYSTEM^DESC

REMSYS^T

11

CLUSTER

SYSTEM^DESC

Not applicable

CLUSTER^T

12