getLeases - list cpu and comms leases established on specified node nodeSYNOPSIS
DESCRIPTIONgetLeases nodeHostname
The getLeases utility lists all current cpu and comms leases that have been established on the specified MOOS node. For example, to see the leases on "node6":
Listed information includes the lease ID, the original duration of the lease, time remaining in the lease, and for comms leases a "Lease Acquired By" note identifying the "lessee".% getLeases node6 SIAM version $Name: $ Found 2 Lease(s). id = 71 type = COMM Current Node System Time = Oct 27, 2006 5:09:48 PM Establishment Time = Oct 27, 2006 5:09:33 PM Times Lease Renewed = 0 Total Lease Active Time = 14 seconds Lease Acquired By = user ops@node11 Lease Duration = 900 seconds Estimated Lease Time Remaining =~ 885 seconds id = 2 type = CPU Current Node System Time = Oct 27, 2006 5:09:48 PM Establishment Time = Oct 27, 2006 5:12:04 PM Lease Duration = 36 seconds Estimated Lease Time Remaining =~ 171 seconds
ENVIRONMENTThe following environment variables must be set:
- JAVA_HOME - location of Java installation, e.g. /j9 or /opt/java/jdk1.3.1
- JAVA - name of the JVM. E.g. on a Sidearm, JAVA should be set to j9. On a workstation with Sun's Java installed, JAVA could be set to java.
- SIAM_HOME - top of the SIAM directory tree
- SIAM_CLASSPATH - on a Sidearm, SIAM_CLASSPATH should be set to $JAVA_HOME/lib/jclMax/classes.zip:$JAVA_HOME/lib/prsnlmot.jar:$JAVA_HOME/lib/RXTXcomm.jar:$SIAM_HOME/classes. On X86 system, SIAM_CLASSPATH should be set to $SIAM_HOME/classes
SEE ALSOlease, cpuAwake