status
Name
status
Synopsis
Provide an overview of the system status.
Usage
status [-h|--help] | [-v|--version]
status [-p|--progress]
status [-g|–gps]
Options
-h, --help
Display this help message and exit.
-v, --version
Output version information and exit.
-p, --progress
Show progress bars for downloads after displaying system overview. It will update indefinitely update the progress unless program is exited.
-g, --gps
Trigger and wait for a GPS acquisition before displaying the remaining of the system overview
Description
Prints a status overview of the controller including battery information, storage usage, connected instruments status.
General overview:
- Serial number: serial number of the RBRcervello.
- Part number: part number of the RBRcervello.
- Cervello firmware version: firmware version of the RBRcervello.
- Clock: current clock of the RBRcervello.
RBRcervello status
- Cervello status: current status of the RBRcervello, either disabled or logging.
- Cervello internal battery: RBRcervello internal battery voltage in Volts.
- Cervello external battery: RBRcervello external battery voltage in Volts.
Storage
- Storage used: RBRcervello memory used in MB.
- Storage remaining: RBRcervello memory still available in MB.
- Storage size: RBRcervello memory total size in MB.
Telemetry
- Telemetry last update: date/time of the last telemetry attempt, or N/A.
- Telemetry last result: the result of the last telemetry attempt, either success, failed over X times or N/A.
- Telemetry last mode: mode of last telemetry attempt, either gsm, rudics or N/A.
GPS
- GPS last update: date/time of the last GPS acquisition attempt.
- GPS last result: the result of the last GPS acquisition attempt, either fixacquired, fixnotacquired or N/A.
- GPS last known position: the position of the last GPS acquisition attempt, either the latitude and longitude or N/A.
Instrument
- Instrument XX last update: date/time of the last status update the RBRcervello performed on the instrument XX or N/A.
- Instrument XX: the last known status of the instrument, either:
- one of the natural statuses of an RBR instrument: disabled, pending, logging, gated, stopped, finished, unknown.
- one of the natural statuses of an Aquadopp instrument: stopped, logging, unknown.
- commchannelerror: the RBRcervello is unable to open the communication channel.
- loggererror: the instrument has encountered an error.
- misconfigured: the RBRcervello is unable to configure the instrument.
- notdiscovered: the RBRcervello did not find the instrument.
- error
- N/A.
- Instrument XX internal battery: the last known internal battery of the instrument XX in Volts or N/A.
- Instrument XX external battery: the last known external battery of the instrument XX in Volts or N/A.
Download
- Download remaining: the total number of bytes remaining to be downloaded over all the instruments.
If the RBRcervello is misconfigured, only the general overview will be displayed.
Examples
RBRcervello> status
RBRcervello
Serial number: 208685
Part number: 0011493
Cervello firmware version: 1.16.0
Clock: 2021-10-29 02:24:35
Cervello status: disabled
Cervello internal battery: 13.68 V
Cervello external battery: 1.31 V
Storage used : 168 MB
Storage remaining: 14355 MB
Storage size : 15299 MB
Telemetry last update: 2021-10-29 02:00:09
Telemetry last result: success
Telemetry last mode : rudics
GPS last update : 2021-10-29 02:17:59
GPS last result : fixacquired
GPS last known position: 45.349128 -75.917473
Instrument 01 last update : 2021-10-29 02:24:06
Instrument 01 : disabled
Instrument 01 internal battery: 5.11 V
Instrument 01 external battery: 0.00 V
Instrument 02 last update : 2021-10-29 02:23:37
Instrument 02 : stopped
Instrument 02 internal battery: 4.74 V
Instrument 02 external battery: 0.00 V
Instrument 03 last update : 2021-10-29 02:20:45
Instrument 03 : stopped
Instrument 03 internal battery: 4.69 V
Instrument 03 external battery: 0.00 V
Instrument 04 last update : 2021-10-29 02:23:02
Instrument 04 : stopped
Instrument 04 internal battery: 4.90 V
Instrument 04 external battery: 0.00 V
Download remaining: 0B