shutdownPort - shutdown the service on specified port(s) on specified MOOS node
SYNOPSIS
shutdownPort nodeHost portName(s)
DESCRIPTION
The shutdownPort utility shuts down the instrument service (if it is running) on the specified port(s) of the specified MOOS node. If there is no instrument service running on the specified port, or if the specified port does not exist on the node, an error is reported to the user. Multiple ports may be specified, e.g.
The portName(s) can be abbreviated as an integer, i.e. "/dev/ttySX1" can be abbreviated as simply "1". Thus the above example is equivalent to% scanPort sidearm6 /dev/ttySX1 /dev/ttySX2 /dev/ttySX3% shutdownPort sidearm6 1 2 3This utility may be run on the same host as the node, or on any networked host from which the node host is accessible. If run on the node's host, then nodeHost should be specified as "localhost".
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 ALSOlistPorts , scanPort , nodeTest