The listSubnodes utility lists information about subnodes of the specified SIAM node, including
For MMC, the address of a network switch attached to the subnode is also displayed, if the subnode is currently running a NetworkSwitch service (e.g. Medusa service).
| Option | Description | Values |
|---|---|---|
| nodeURL | IP address or host name of SIAM node | e.g. 134.89.88.1, mooring.moos.mbari.org |
Example output:
listSubnodes loc SIAM version $Name: $ Found 4 Subnodes node402/134.89.36.2: deviceID=1598, age=3m:33s Switch address: 134.89.36.53/134.89.36.53 node413/134.89.36.13: deviceID=1410, age=1m:31s Switch address: 134.89.36.63/134.89.36.63 node418/134.89.36.18: deviceID=1522, age=1m:6s Switch address: 134.89.37.65/134.89.37.65 node403/134.89.36.3: deviceID=1544, age=5m:49s Switch address: 134.89.36.52/134.89.36.52
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 |