frysk.sys
Class Uname

java.lang.Object
  extended by frysk.sys.Uname

public final class Uname
extends Object

Interface to uname system call.


Method Summary
static Uname get()
          Get a Uname object that contains the results of the uname system call.
 String getDomainname()
          Get the system domain name.
 String getMachine()
          Get the system "architecture."
 String getNodename()
          Get the node name.
 String getRelease()
          Get the system release string.
 String getSysname()
          Get the system name.
 String getVersion()
          Get the system version.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSysname

public String getSysname()
Get the system name.

Returns:
system name

getNodename

public String getNodename()
Get the node name.

Returns:
node name

getRelease

public String getRelease()
Get the system release string.

Returns:
release string

getVersion

public String getVersion()
Get the system version.

Returns:
version string

getMachine

public String getMachine()
Get the system "architecture."

Returns:
machine field from uname

getDomainname

public String getDomainname()
Get the system domain name. This may be null.

Returns:
domain name

get

public static Uname get()
Get a Uname object that contains the results of the uname system call.

Returns:
Uname object