-
Path A (single process):
-
Path B (multi-process service):
TL;DR
-
Set
HAILO_MONITOR=1in the same process that creates/uses the VDevice before it starts. -
If you’re using the system service, set
HAILO_MONITOR=1in/etc/default/hailort_serviceand restart the service. -
Run
hailortcli monitorfrom a different terminal to see the three tables.
Path A - Single process (Python script using @local or an AIServer launched from a shell)
(Only if multi-process service is NOT running, check systemctl status hailort.service)
- Set the env var in the terminal you’ll use to launch the script or AIServer:
export HAILO_MONITOR=1
# (Optional) Change refresh rate (default 1000ms):
export HAILO_MONITOR_TIME_INTERVAL=500
- Start your inference script / AIServer from that same terminal (so the process inherits the env):
python your_inference.py
# or launch AIServer here and then run inference on it using any SDK.
- From a second terminal, run:
hailortcli monitor
Path B - If multi-process service is running or necessary
(Only if multi-process service IS running, check systemctl status hailort.service)
- Edit the HailoRT service env file:
sudo nano /etc/default/hailort_service
Find the line:
HAILO_MONITOR=0
Flip it to:
HAILO_MONITOR=1
(Optional) Add/adjust the interval:
HAILO_MONITOR_TIME_INTERVAL=500
- Reload systemd unit files:
sudo systemctl daemon-reload
- Enable (if needed) and start/restart the service:
sudo systemctl enable --now hailort.service
sudo systemctl restart hailort.service
- Run the monitor from another shell:
hailortcli monitor
What you should see
hailortcli monitor refreshes every second and prints three tables.
If these tables are populated, the scheduler is active and your process is being tracked.