Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

C-API | OP_NODE_SYSTEM_INFORMATION

Description

Describes information about a target node.

Usage

enum

{

OP_SYSTEM_INFORMATION_STR_MAX_LEN = 64

};

typedef struct

{

struct

{

OP_TARGET_PLATFORMplatform;

char platformStr [OP_SYSTEM_INFORMATION_STR_MAX_LEN];

char release [OP_SYSTEM_INFORMATION_STR_MAX_LEN];

}os;

struct

{

har arch [OP_SYSTEM_INFORMATION_STR_MAX_LEN];

long diskSpaceLeft;

int cpucnt;

unsigned long cpuSpeedMHz;

char ipaddr [OP_SYSTEM_INFORMATION_STR_MAX_LEN];

} sys;

}OP_NODE_SYSTEM_INFORMATION;

Elements
  • platform: OS running on target node. See OP_TARGET_PLATFORM.
  • platformStr: OS name running on target.
  • release: OS version.
  • arch: Information about OS kernel.
  • diskSpaceLeft: Available space disk on target.
  • cpucnt: Number of CPU on target.
  • cpuSpeedMhz: CPU speed in Mhz.
  • ipaddr: Target IP adress.
ExamplesNone.
Related ItemsOpalGetTargetNodeSystemInfo
Library and Header

WINDOWSLINUX
Static LibraryOpalApi.lib-
Dynamic LibraryOPalApi.dlllibOpalApi.so
Header FileOpalApi.hOpalApi.h

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter