Hitachi

JP1 Version 12 for UNIX Systems JP1/Performance Management - Agent Option for Platform Description, User's Guide and Reference


List of data types

The table below lists the data types for various field values along with the corresponding C and C++ data types. The field values shown under Data type in this table are shown in the Format column in the field table for each record.

Table 9‒5: List of data types

Data type

Bytes

Explanation

Field

C and C++

char(n)

char()

Number inside ( )

Character string having a length of n bytes

double

double

8

Numerical value (1.7E±308 (15 digits))

float

float

4

Numerical value (3.4E±38 (7 digits))

long

long

4

Numerical value (-2,147,483,648 to 2,147,483,647)

short

short

2

Numerical value (-32,768 to 32,767)

string(n)

char[]

Number inside ( )

Character string having n-byte length. The last character is null.

time_t

unsigned long

4

Numerical value (0 to 4,294,967,295)

timeval

struct

8

Numerical value (the first 4 bytes indicate seconds, and the next 4 bytes indicate microseconds.)

ulong

unsigned long

4

Numerical value (0 to 4,294,967,295)

utime

struct

8

Numerical value (the first 4 bytes indicate seconds, and the next 4 bytes indicate microseconds.)

word

unsigned short

2

Numerical value (0 to 65,535)

(Not applicable)

unsigned char

1

Numerical value (0 to 255)

Organization of this page

Note on data type

PFM - Agent for Platform cannot store a value that exceeds the maximum value defined for a data type in the data model. If a value exceeding the maximum value is collected, PFM - Agent for Platform does not retain the correct value.