---
title: "DEEPX NPU system monitoring"
description: "Commands for monitoring and diagnosing the DEEPX NPU on the AI HAT+, the Edge AI Expansion Board and the ALPON X5 AI: dxtop, dxrt-cli and the Linux tools."
url: "https://docs.sixfab.com/edge-ai/ai-model-deployment/system-monitoring/"
last_updated: "2026-11-26"
---

# DEEPX NPU system monitoring

Commands for monitoring and diagnosing the DEEPX NPU on the Sixfab AI HAT+, the Edge AI Expansion Board, and the ALPON X5 AI: dxtop, dxrt-cli, and the Linux tools for the driver and the runtime service.

## Quick reference

Six commands cover monitoring on all three products, one per layer of the DEEPX stack. The rest of the page explains each.

| Command | Layer | Shows | Use when |
| --- | --- | --- | --- |
| `dxtop` | Runtime | Live NPU load, temperature, voltage, and clock per core | Watching performance during inference |
| `dxrt-cli -s` | Runtime | Device, versions, firmware, memory, PCIe link | Checking the stack after install or before debugging |
| `lspci` | Hardware | Whether the host sees the NPU on PCIe | First check when nothing responds |
| `lsmod \| grep -i dx` | Kernel | Whether the DEEPX kernel module is loaded | `dxrt-cli` finds no device |
| `dmesg \| grep -i dx` | Kernel | DEEPX driver messages from start-up | Driver start-up or PCIe link errors |
| `journalctl -xeu dxrt.service` | Application | The runtime service log | The runtime starts but inference fails |

## Installed CLI tools

- **`dxrt-cli`**: hardware status, firmware version, and firmware update. The first command when diagnosing anything.
- **`dxtop`**: live NPU monitor with load, temperature, voltage, and clock per core, like `htop` for the NPU.
- **`run_model`**: runs a compiled `.dxnn` file without application code.

```bash
# 1. Full hardware status
dxrt-cli -s

# 2. Real-time NPU utilisation (q to quit)
dxtop

# 3. Test a compiled model
run_model --model_path <model_path>.dxnn

# 4. Update NPU firmware (only when a new fw.bin is released)
dxrt-cli -u <firmware_path>.bin
```

On the AI HAT+ and the Edge AI Expansion Board, the `sixfab-dx` APT package installs the runtime, the kernel driver (built with DKMS against the running kernel), and the three tools. On the ALPON X5 AI, install the same package from the remote terminal: `sudo apt update && sudo apt install sixfab-dx`. The commands then work the same on all three.

> [!NOTE]
> **NPU metrics**
>
> Only `dxtop` and `dxrt-cli` show NPU-internal telemetry: load, voltage, clock, and die temperature per core. `top`, `htop`, and `sensors` cannot see inside the NPU. For fleet monitoring, collect the `dxrt-cli -s` output or the `dxtop` machine-readable feed into your time-series store.

## dxtop: real-time NPU monitor

A live terminal view of the NPU: load, memory, voltage, clock, and temperature per core, updated continuously.

```bash
dxtop
```

Press `q` to quit, `n` and `p` to page through devices, `h` for help.

### Output at idle

Captured on the Edge AI Expansion Board (DX-M1) with no inference running. The versions are those installed at capture time; run `dxrt-cli -s` to see yours.

```text
DX-RT: v3.5.0   NPU Device driver: v2.7.0   DX-TOP: v1.1.1

Device :0  Variant: M1  PCIe Bus Number: 01:00:00  Firmware: v2.7.6
NPU Memory: [3.98 MiB / 3.82 GiB (0.05%)]
  Core :0  Util:  0.0%  Temp: 49 °C  Voltage: 750 mV  Clock: 1000 MHz
  Core :1  Util:  0.0%  Temp: 48 °C  Voltage: 750 mV  Clock: 1000 MHz
  Core :2  Util:  0.0%  Temp: 49 °C  Voltage: 750 mV  Clock: 1000 MHz
```

### Output under inference load

With a model running, all three cores climb to 80 to 95 % load and the temperature rises into the low 50s °C at room temperature. Captured with YOLOv8n at 640 × 640 on the Edge AI Expansion Board (DX-M1), runtime v3.5.0.

```text
Device :0  Variant: M1  PCIe Bus Number: 01:00:00  Firmware: v2.7.6
NPU Memory: [1.20 GiB / 3.82 GiB (31.4%)]
  Core :0  Util: 87.0%  Temp: 52 °C  Voltage: 750 mV  Clock: 1000 MHz
  Core :1  Util: 92.0%  Temp: 51 °C  Voltage: 750 mV  Clock: 1000 MHz
  Core :2  Util: 89.0%  Temp: 52 °C  Voltage: 750 mV  Clock: 1000 MHz
```

The `Variant` field reads `M1` on all three products.

### Typical values

- **Idle temp:** 46 to 49 °C (No inference running)
- **Core voltage:** 750 mV (Idle and inference)
- **Core clock:** 1000 MHz (Normal operating speed)
- **NPU power (DX-M1 family):** 2 to 5 W (NPU alone, supported AI models)
- **Thermal throttle:** ~90 °C (Per DEEPX silicon spec)

> [!WARNING]
> **Temperature climbing toward 65 to 70 °C under sustained load?**
>
> Without enough cooling the NPU heats up and throttles from about 90 °C. On the AI HAT+, fit the heatsink or a 3.3 V fan. On the Edge AI Expansion Board, keep the DX-M1 heatsink fitted and the airflow free. The ALPON X5 AI is a sealed fanless enclosure with its own thermal design; place it within its ambient operating range.

## dxrt-cli: hardware status and firmware

The main tool for hardware state and NPU firmware.

### Status report

Shows the device type, runtime, driver, and firmware versions, memory, board revision, PCIe link speed, and voltage, clock, and temperature per core. Run it first after installation or when something behaves unexpectedly.

```bash
dxrt-cli -s
```

```text
DXRT v3.5.0
=======================================================
 * Device 0: M1, Accelerator type
---------------------   Version   ---------------------
 * RT Driver version  : v2.7.0
 * PCIe Driver version: v2.7.0
-------------------------------------------------------
 * FW version         : v2.7.6
--------------------- Device Info ---------------------
 * Memory : LPDDR5 5600 Mbps, 3.92 GiB
 * Board  : M.2, Rev 1.0
 * Chip Offset : 0
 * PCIe   : Gen3 X1 [01:00:00]
NPU 0: voltage 750 mV, clock 1000 MHz, temperature 45 °C
NPU 1: voltage 750 mV, clock 1000 MHz, temperature 45 °C
NPU 2: voltage 750 mV, clock 1000 MHz, temperature 45 °C
=======================================================
```

The layout is the same on all three products; these fields differ:

- **Memory:** LPDDR5, 5600 MT/s, 4 GB on the Edge AI Expansion Board (DX-M1 M.2 module); LPDDR4x, 4266 MT/s, 2 GB (DX-M1M) on the AI HAT+. See each product’s specifications.
- **Versions:** whatever is installed; the output above shows the versions at capture time.
- **PCIe:** `Gen3 X1` on the AI HAT+ and the Edge AI Expansion Board once `dtparam=pciex1_gen=3` is set; on the ALPON X5 AI the link is set at the factory.

### Update NPU firmware

`dxrt-cli -u` flashes a firmware file to the NPU. Download the file from [DEEPX website](https://deepx.ai) first:

```bash
dxrt-cli -u <firmware_path>.bin

# Verify the new firmware version
dxrt-cli -s
```

> [!NOTE]
> **When to update the firmware**
>
> Flash only when the runtime reports a firmware version mismatch or a new runtime requires newer firmware. If `dxrt-cli -s` shows the device without errors, no flash is needed. If the runtime still reports a mismatch after the flash, update the runtime too.

## Diagnostic commands

Standard Linux tools that check hardware detection and the kernel driver when the DEEPX tools do not respond.

### Is the NPU on the PCIe bus?

```bash
lspci
```

The DEEPX device must be listed; if it is not, the hardware connection has a problem.

```text
0001:01:00.0  Processing accelerators: DEEPX Co., Ltd. DX_M1A
```

> [!NOTE]
> **Nothing listed?**
>
> On the AI HAT+, check the 16-pin FFC cable at both ends; a latch not fully closed is the most common cause ([Troubleshooting](https://docs.sixfab.com/edge-ai/ai-hat-plus/troubleshooting/#issue-npu-not-detected)). On the Edge AI Expansion Board, check that the DX-M1 is fully seated in `M.2-PCIe` and the PCIe cable is connected, and read `dmesg | grep -i dx` ([Troubleshooting](https://docs.sixfab.com/edge-ai/edge-ai-expansion-board/troubleshooting/#issue-npu-not-detected)). On the ALPON X5 AI there is no removable PCIe cabling: a missing device is a system fault; contact Sixfab support.

### Is the kernel driver loaded?

```bash
lsmod | grep -i dx
```

No output means the module is not loaded. On the AI HAT+ or the Edge AI Expansion Board, reboot or reinstall `dxrt-driver-dkms`. On the ALPON X5 AI it points to an OS image problem: reboot, and if the module still does not load, contact Sixfab support.

### Driver messages

```bash
dmesg | grep -i dx
```

Kernel messages from the driver start-up: look for PCIe link errors, firmware load failures, or enumeration problems. A healthy start looks like this:

```text
[    2.102285] dx_dma: loading out-of-tree module taints kernel.
[    2.112716] dx_dma_pcie 0001:01:00.0: enabling device (0100 -> 0102)
[    2.112830] dx_dma_pcie 0001:01:00.0: dw->dx_ver: 3
[    2.182700] dx_dma_pcie 0001:01:00.0: [dx_dma_pcie_probe] Probe Done!!
[    2.799076] dxrt_driver_cdev_init: 1 devices
```

### Runtime service log

```bash
journalctl -xeu dxrt.service

# Follow live
journalctl -xeuf dxrt.service

# Only last 10 minutes
journalctl -xeu dxrt.service --since "10 minutes ago"
```

The systemd log of the runtime service, for when the runtime starts but inference fails. `-f` follows it live; `--since` limits the time range.

> [!NOTE]
> If `dmesg` or `journalctl` prints nothing or a permission error, run it with `sudo`.

## Where to start when something fails

Run these in order; each goes one layer down. Stop when one answers the question.

1. `dxrt-cli -s`: does the runtime see a healthy device with the expected versions?
2. `lspci`: does the host see the NPU on PCIe?
3. `lsmod | grep -i dx`: is the kernel module loaded?
4. `dmesg | grep -i dx`: did the driver start without errors?
5. `journalctl -xeu dxrt.service`: did the runtime service start and stay up?

All three products run Linux with systemd: Raspberry Pi OS on the AI HAT+ and the Edge AI Expansion Board, ALPON OS on the ALPON X5 AI. The commands and their output are the same; product-specific recovery steps are on each Troubleshooting page.

- [AI HAT+ troubleshooting](https://docs.sixfab.com/edge-ai/ai-hat-plus/troubleshooting/): FFC cable, DKMS reinstall, kernel update recovery, throttling.
- [Edge AI Expansion Board troubleshooting](https://docs.sixfab.com/edge-ai/edge-ai-expansion-board/troubleshooting/): M.2 slots, USB-C PD power, SSD and modem, PCIe Gen 3.
- [ALPON X5 AI troubleshooting](https://docs.sixfab.com/alpon/alpon-x5-ai/troubleshooting/): Power, LEDs, connectivity, and NPU detection.
