Class Sys::Uname
In: ext/sys/uname.c
Parent: Object

The Uname serves as the base class from which system information can

   be obtained via various class methods.

Methods

Constants

VERSION = 0.8.6   The version of the sys-uname library

Public Class methods

Returns the instruction set architecture, e.g. "sparc".

Returns a hexidecimal encoding, in String form, of the name of the interface configured by boot(1M) followed by the DHCPACK reply from the server.

Returns the name of the hardware manufacturer.

Returns the ASCII representation of the hardware-specific serial number of the machine that executes the function.

Returns the id number, e.g. 234233587. This is a string, not a number.

Returns a space separated string containing a list of all variant instruction set architectures executable on the current system.

They are listed in order of performance, from best to worst.

Returns the machine hardware type, e.g. "i686".

Returns the model type, e.g. "PowerBook5,1"

Returns the nodename. This is usually, but not necessarily, the same as the system‘s hostname.

Returns the platform identifier. e.g. "SUNW,Sun-Blade-100".

Returns the operating system release. e.g. "2.2.16-3".

Returns the name of the Secure Remote Procedure Call domain, if any.

Returns the operating system name. e.g. "SunOS".

Returns a struct of type UnameStruct that contains sysname, nodename, machine, version, and release. On Solaris, it will also include architecture and platform. On HP-UX, it will also include id_number.

Returns the operating system version, e.g. "5.8".

[Validate]