module System
Defined in:
unix/uname.crClass Method Summary
-
.machine : String
Returns the machine hardware name.
-
.model : String
Returns the hardware model name.
-
.nodename : String
Returns the nodename, i.e.
-
.release : String
Returns the operating system release.
-
.sysname : String
Returns the operating system name.
-
.uname : System::Uname
Returns a
System::Uname
struct that has the following members: -
.version : String
Returns the operating system version.
Class Method Detail
def self.nodename : String
#
Returns the nodename, i.e. the name it's known by on the network. Typically identical to the hostname.
def self.uname : System::Uname
#
Returns a System::Uname
struct that has the following members:
- sysname
- nodename
- release
- version
- machine