NAME
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.
% scanPort sidearm6 /dev/ttySX1 /dev/ttySX2 /dev/ttySX3
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
% shutdownPort sidearm6 1 2 3

This 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".


ENVIRONMENT

The following environment variables must be set:


SEE ALSO

 listPortsscanPortnodeTest