class Kernel
Kernel related information
does Systemic
Built-in class for providing kernel related information. Usually accessed through the $*KERNEL
dynamic variable.
Methods
method arch
method arch(--> Str)
Instance method returning the "arch" (as in "architecture") information of the Kernel object. Dies if the "arch" could not be established.
method archname
method archname(--> Str)
Instance method returning the concatenation of hardware and name.
method auth
method auth(--> Str)
Instance method returning the "auth" (as in "author" or "authority") of the Kernel object. Returns "unknown" if the "auth" could not be established.
method bits
method bits(--> Int)
Instance method returning the number of bits used in the architecture of the processor. Usually 32 or 64.
method cpu-cores
method cpu-cores(--> Int)
Instance / Class method returning the number of CPU cores that are available.
method cpu-usage
method cpu-usage(--> Int)
Instance / Class method returning the amount of CPU uses since the start of the program (in microseconds).
method desc
method desc(--> Str)
Instance method returning the "desc" (as in "description") of the Kernel object. Returns a Str
type object if the "desc" could not be established.
method endian
method endian(--> Endian)
Class method that returns the Endian object associated with the kernel architecture (either LittleEndian
or BigEndian
).
method hardware
Instance method returning the hardware information of the Kernel object. Dies if the hardware information could not be established.
method hostname
method hostname(--> Str)
Instance method returning the hostname of the Kernel object.
method name
method name(--> Str)
Instance method returning the name of the Kernel object. Returns "unknown" if the name could not be established.
method release
Instance method returning the release information of the Kernel object. Dies if the release information could not be established.
method signal
Instance method returning the Signal
for a given name for the Kernel object.
method signals
Instance method returning a list of Signal
s that are supported by the kernel represented by the Kernel object.
method signature
Instance method returning the signature of the Kernel object. Returns a Blob
type object if the signature could not be established.
method version
method version(--> Version)
Instance method returning the version of the Kernel object as a Version object. Returns a Version object "unknown" if the version could not be established.
See Also: Systemic
Type Graph
Kernel