pxltop User Guide
pxltop is a command-line resource monitoring tool for CXL devices, inspired by tools like top. It provides real-time insights into CXL devices and the client processes utilizing them — all within a terminal interface.
The process view below describes the default mode. For independent SDK containers, use Coordinator mode: the host reads shared reservations and workload records rather than host PIDs.
Overview
pxltop is part of the PXL Resource Monitor system and offers visibility into:
- CXL device status and resource usage
- Client processes interacting with the CXL devices
Key Features
- Live Monitoring: Track real-time stats on CXL device usage.
- Device Overview: View Sub utilization and memory usage per CXL device.
- Process Insight: Monitor which processes are using each CXL device and how.
Usage
Basic Launch
pxltop
Run this command in an interactive terminal. For Docker, open the shell with docker exec -it <container> bash first.
Controls
| Key | Function |
|---|---|
d | Toggle detailed view (per-process information) |
q | Exit pxltop (Esc also exits) |
i | Change Refresh Interval (s) |
s | Change sort order |
Output Overview
The terminal interface is split into two sections:
Devices Panel
Displays metrics for each managed CXL device, including:
- Device ID
- Total and available Subs
- Total and available memory
Processes Panel
For each process using a CXL device:
- PID, command name, user
- Allocated devices and Subs per process
- Memory usage on CXL
Coordinator mode
On a host or tenant set up for independent SDK containers, pxltop shows each configured device’s shared resource snapshot instead of the process list: capacity and reservations per device and one row per workload, as described under Monitoring. It needs read permission on /run/pxl-coordinator/config.json and on each configured device’s devdax node, so on the host run it as root (sudo pxltop) unless your user can read both. Each refresh reads the shared device metadata, so in this mode the refresh interval is at least 0.5 s and at most an hour.