The getLeases utility lists all current CPU and comms leases that have been established on the specified SIAM node.
| Option | Description | Values |
|---|---|---|
| nodeURL | IP address or host name of SIAM node | e.g. 134.89.88.1, mooring.moos.mbari.org |
Example output:
getLeases localhost SIAM version $Name: $ Found 1 Lease(s). id = 1 type = COMM Current Node System Time = 10/01/2010 16:19:30 Establishment Time = 10/01/2010 16:19:28 Times Lease Renewed = 0 Total Lease Active Time = 2 seconds Lease Acquired By = comms scheduler Lease Duration = 60 seconds Estimated Lease Time Remaining =~ 57 seconds
The following environment variables must be set:
| Variable | Description | Example |
|---|---|---|
| JAVA_HOME | location of Java installation | /j9, /opt/java/jdk1.3.1, etc. |
| JAVA | Path to JVM command | For MMC $JAVA_HOME/bin/j9 For Sun JVM (e.g. linux, win32, mac OS) $JAVA_HOME/bin/java
|
| SIAM_HOME | top of the SIAM directory tree | - |
| SIAM_CLASSPATH | Path including all SIAM and supporting classes | For MMC $JAVA_HOME/lib/jclMax/classes.zip:$JAVA_HOME/lib/prsnlmot.jar:$JAVA_HOME/lib/RXTXcomm.jar:$SIAM_HOME/classes For linux/win32 $SIAM_HOME/classes |