frysk.sys
Class Uname

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

public final class Uname
extends Object

Interface to uname system call.


Field Summary
private  String domainname
           
private  String machine
           
private  String nodename
           
private  String release
           
private  String sysname
           
private  String version
           
 
Constructor Summary
private Uname()
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sysname

private String sysname

nodename

private String nodename

release

private String release

version

private String version

machine

private String machine

domainname

private String domainname
Constructor Detail

Uname

private Uname()
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