Skip to content Link Search Menu Expand Document

VOXL Inspect Services

voxl-inspect-services is a simple tool to show which of ModalAI’s systemd background services are enabled (start on boot), running, and what their cpu usage is (if running). The CPU usage should be taken with a grain of salt, as it a momentary snapshot of CPU usage. We recommend using top for more accurate process-specific cpu utilization.

Arguments

ParameterDescriptionExample
-h –helpShow the help messagevoxl-inspect-services --help
-d –debugDebug modevoxl-inspect-services -d
-v –versionShow versions as well (takes longer to run)voxl-inspect-services -v
-j –jsonOutput in Json Formatvoxl-inspect-services -j

Typical Use

voxl2:/$ voxl-inspect-services
 Service Name        |  Enabled  |   Running   |  CPU Usage
--------------------------------------------------------------
 docker-autorun      | Disabled  | Not Running |
 docker-daemon       | Disabled  | Not Running |
 modallink-relink    | Disabled  | Not Running |
 voxl-camera-server  |  Enabled  |   Running   |     3.4
 voxl-cpu-monitor    |  Enabled  |   Running   |     0.0
 voxl-dfs-server     | Disabled  | Not Running |
 voxl-imu-server     |  Enabled  |   Running   |     1.9
 voxl-modem          | Disabled  | Not Running |
 voxl-portal         |  Enabled  |   Running   |     0.0
 voxl-qvio-server    |  Enabled  |   Running   |    11.7
 voxl-streamer       | Disabled  | Not Running |
 voxl-tag-detector   |  Enabled  | Not Running |
 voxl-tflite-server  | Disabled  | Not Running |
 voxl-time-sync      | Disabled  | Not Running |
 voxl-vision-hub     |  Enabled  |   Running   |     4.0
 voxl-wait-for-fs    |  Enabled  |  Completed  |

Optionally Show Version Numbers

The version column is disabled by default since the version number lookup is slow compared with the default three columns. However, it can be enabled with the -v or --version flag

voxl2:/$ voxl-inspect-services --version
 Service Name        |  Version  |  Enabled  |   Running   |  CPU Usage
--------------------------------------------------------------------------
 docker-autorun      |    1.1.3  | Disabled  | Not Running |
 docker-daemon       |    1.1.3  | Disabled  | Not Running |
 modallink-relink    |   0.12.0  | Disabled  | Not Running |
 voxl-camera-server  |    0.8.1  |  Enabled  |   Running   |     5.2
 voxl-cpu-monitor    |    0.2.0  |  Enabled  |   Running   |     0.0
 voxl-dfs-server     |    0.2.2  | Disabled  | Not Running |
 voxl-imu-server     |    0.9.0  |  Enabled  |   Running   |     1.7
 voxl-modem          |   0.12.0  | Disabled  | Not Running |
 voxl-portal         |    0.1.2  |  Enabled  |   Running   |     0.0
 voxl-qvio-server    |    0.3.4  |  Enabled  |   Running   |    12.2
 voxl-streamer       |    0.2.6  | Disabled  | Not Running |
 voxl-tag-detector   |    0.0.2  |  Enabled  | Not Running |
 voxl-tflite-server  |    0.1.6  | Disabled  | Not Running |
 voxl-time-sync      |    0.8.3  | Disabled  | Not Running |
 voxl-vision-hub     |    0.9.5  |  Enabled  |   Running   |     4.0
 voxl-wait-for-fs    |    0.8.3  |  Enabled  |  Completed  |

Source

Source code available on Gitlab.