binBackups - manipulate backup batteries and capacitors in MOOS power systemSYNOPSIS
binBackups node portName option
DESCRIPTION
When two arguments are specified, the binBackups utility shows status of the high voltage backup batteries and capacitors as reported by the SIAM power service running on the specified node and port. If a third argument is specified, binBackups actually enables or disables the backup batteries or capacitors. The optional third argument specifies the particular action to take, and can be one of the following:
- BE: enable backup batteries
- BD: disable backup batteries
- CE: enable backup capacitors
- CD: disable backup capacitors
- ALLEN: enable backup batteries and capacitors
- ALLDI: disable backup batteries and capacitors
The portName can be abbreviated as an integer, i.e. "/dev/ttySX13" can be abbreviated as simply "13". Thus the following example enables backkup batteries on "node5" through the service running on port /dev/ttySX13:
% binBackups node5 13 BEThis 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 node can be specified as "localhost" or simply "loc".
The following example enables backup batteries and capacitors on the local node:
% binBackups loc 13 ALLEN
ENVIRONMENT
The following environment variables must be set:
SEE ALSO
portProperties , cachePort , restartPort