Name

listPorts

Synopsis

listPorts nodeURL [-stats]

Description

The listPorts utility displays a listing of all configured serial ports on a specified node, the service (if any) associated with each port, and the status of that service.

Options

Option Description Values
nodeURL IP address or host name of SIAM node e.g. 134.89.88.1, mooring.moos.mbari.org
-stats Show samples, error, retry counts -

Example output:

$ listPorts foce.mars.mbari.org -stats
SIAM version $Name:  $

Node 1726 has 19 ports

  Port Name ISI-ID                  Service   Status      S   E   R  
  --------- ------                  -------   ------     --- --- --- 
   PMonitor   1730            Power Monitor       OK   60585   0   0 
   EMonitor   1721        Enclosure Monitor       OK   60585   0   0 
   HMonitor   1737         Humidity Monitor       OK   60584   0   0 
   WMonitor   1738            Water Monitor       OK   60584   0   0 
 /dev/ttyS4   1642          Seabird SBE52MP SAMPLING   10097   0   0 
 /dev/ttyS6   1733          Seabird SBE52MP       OK   10097   0   0 
/dev/ttyS11   1644       Vector Velocimeter SAMPLING 1817335   2   0 
/dev/ttyS12   1724  MBARI digital pH Sensor       OK   60578   0   0 
/dev/ttyS13   1735  MBARI digital pH Sensor       OK   60578   0   0 
/dev/ttyS14   1722  MBARI digital pH Sensor       OK   60577   0   0 
/dev/ttyS15   1749  MBARI digital pH Sensor       OK   60576   0   0 
/dev/ttyS16   1734  MBARI digital pH Sensor       OK   60575   0   0 
/dev/ttyS17      -                        -        -       -         
 /dev/ttyS8   1728 Elmo Thruster Controller SAMPLING  302870   0   0 
/dev/ttyS10   1729 Elmo Thruster Controller       OK  302866   0   0 
 /dev/ttyS9   1645  WH Sentinel ADCP 600kHz       OK   20169   0   0 
 /dev/ttyS7   1739          SAMI CO2 Sensor       OK     168   0   0 
    CPUTemp   1761                 CPU Temp       OK   20190   0   0 
  CO2subsys      -                        -        -       -         
				
				

Environment

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

See Also