|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava2gomd.GomdObject
java2gomd.Node
Represents a node (a computer in the cluster)
Field Summary | |
GomdClient |
clientConnection
|
Constructor Summary | |
Node(GomdClient client,
java.lang.String node)
Creates a new node wich will retreive info over client with openMosix id node |
Method Summary | |
int |
cmd(java.lang.String command)
Executes a specified command on this node |
double |
idletime()
Returnes the idletime of this node |
int |
load()
Returnes the load of this node |
java.util.Hashtable |
nics()
Returnes all network interfaces on this node |
java.util.Hashtable |
pidlist()
Returnes a list of processes |
long |
speed()
Returnes the speed of this node |
int |
status()
Returnes the status of this node |
long |
tmem()
Returnes the total memory in this node |
double |
uptime()
Returnes the uptime of this node |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public GomdClient clientConnection
Constructor Detail |
public Node(GomdClient client, java.lang.String node)
client
- The GomdClient it will use to retreive it's info.node
- It's openMosix id in the cluster.Method Detail |
public int load() throws java.io.IOException
java.io.IOException
public int status() throws java.io.IOException
java.io.IOException
public long tmem() throws java.io.IOException
java.io.IOException
public long speed() throws java.io.IOException
java.io.IOException
public java.util.Hashtable pidlist() throws java.io.IOException
java.io.IOException
public double uptime() throws java.io.IOException
java.io.IOException
public double idletime() throws java.io.IOException
java.io.IOException
public java.util.Hashtable nics() throws java.io.IOException
java.io.IOException
public int cmd(java.lang.String command)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |