Oberon || Library || Module Index || Search Engine || Definition || Module


Ulm's Oberon Library:
SysSolarisInfo


NAME

SysSolarisInfo - extract platform information under Solaris

SYNOPSIS

PROCEDURE GetArchitecture(VAR name: ARRAY OF CHAR);
PROCEDURE GetIsAList(VAR name: ARRAY OF CHAR);
PROCEDURE GetPlatform(VAR name: ARRAY OF CHAR);
PROCEDURE GetHardwareProvider(VAR name: ARRAY OF CHAR);
PROCEDURE GetHardwareSerial(VAR name: ARRAY OF CHAR);

DESCRIPTION

SysSolarisInfo extracts various platform informations using the sysinfo(2) system call under Solaris.

GetArchitecture returns the basic instruction set architecture, e.g. ``sparc'' or ``i386''.

GetIsAList returns a space-separated list of instruction set variants that are supported by the current system, e.g. ``sparcv9''. See isalist(5) for a detailed list.

GetPlatform returns the name of the hardware platform, e.g. ``SUNW,Sun-Fire-V240''.

GetHardwareProvider returns the name of the hardware manufacturer.

GetHardwareSerial returns the ASCII representation of the hardware serial number.

SEE ALSO

Architectures
general classification of hardware architectures and operating systems
SPARCSolarisArchitecture
extracts the platform information on SPARC/Solaris platforms using this module and makes it available through Architectures

Edited by: borchert, last change: 2004/03/09, revision: 1.1, converted to HTML: 2004/03/09

Oberon || Library || Module Index || Search Engine || Definition || Module