551 309 01

 

SystemInfo Channel

 

Registers in SystemInfo channel:

RegNo

Identifier

Memory type

Read Out

Type

0

CPUUsage_Percent

 

-------

Real

1

MemoryStatus

 

-------

Record

2

SystemIdleTime_msec

 

-------

LongInteger

3

DriveInfo

 

 

Array

4

ServiceStart

 

-------

RealDate

5

StreamSave

 

-------

RealDate

6

 

 

 

 

7

 

 

 

 

8

 

 

 

 

9

 

 

 

 

10

 

 

 

 

11

 

 

 

 

12

 

 

 

 

13

 

 

 

 

14

Guid

Stream Read Only

-------

String

15

 

 

 

 

 

 

RegNo 0: CPUUsage_Percent

 

CPUUsage_Percent:

Real;

 

This field holds the current load of the CPU in percent.

 

RegNo 1: MemoryStatus

The record is of the following type:

 

Record

 

 

 

MemoryLoad_Percent:

LongInteger;

 

 

TotalMemory_KBytes:

LongInteger;

 

 

AvailableMemory_KBytes:

LongInteger;

 

 

TotalPageFile_KBytes:

LongInteger;

 

 

AvailPageFile_Kbytes:

LongInteger;

 

 

TotalVirtual_Kbytes:

LongInteger;

 

 

AvailVirtual_Kbytes:

LongInteger;

 

End;

 

 

 

MemoryLoad_Percent:

Approximate percentage of total physical memory that is in use. Windows NT:  Percentage of approximately the last 1000 pages of physical memory that is in use.

 

TotalMemory_KBytes

Total size of physical memory, in Kbytes.

 

AvailableMemory_KBytes

Size of physical memory available, in Kbytes.

 

TotalPageFile_KBytes

Size of the committed memory limit, in Kbytes.

 

AvailPageFile_KBytes

Size of available memory to commit, in Kbytes.

 

TotalVirtual_KBytes

Total size of the user mode portion of the virtual address space of the calling process, in Kbytes.

 

AvailVirtual_KBytes

Size of unreserved and uncommitted memory in the user mode portion of the virtual address space of the calling process, in Kbytes.

 

RegNo 2: SystemIdleTime_msec

 

SystemIdleTime_msec:

Word;

 

This register holds the time in milliseconds since the last input event occurred.

 

RegNo 3: DriveInfo

This variable is an array having the following structure:

 

Record

 

DriveLetter:

String[3];

 

FreeSpace:

Real;

 

Prefix:

String[2];

End;

 

TDriveInfoList = Array[0..9] of TDriveInfo;

 

DriveLetter

This field holds the drive letter for the drive, e.g. C:\

 

FreeSpace

This field holds the amount of free disk space available to the user.

 

Prefix

This field holds the prefix of the FreeSpace variable.

GB -> GigaBytes,

MB -> MegaBytes

KB -> KiloBytes

 

RegNo 4: ServiceStart

 

ServiceStart:

RealDate;

The register shows when the P-NET Gateway service was started.

 

RegNo5: StreamSave

 

StreamSave:

RealDate;

The register shows when data was last written to the stream file. This file holds all information about the P-NET Gateway service configuration and data to all its nodes.

 

RegNo 14: GUID

 

GUID:

String[22];

 

Each channel type is identified by means of a unique GUID. The value of GUID for the channel is: PD/551309-01.