cxl-monitor1
Monitor the cxl trace events
Usage
cxl monitor
[<options>]
Overview
cxl-monitor is used for monitoring the CXL trace events emitted by the kernel and convert them to json objects and dumping the json format notifications to standard output or a logfile.
Examples
Run a monitor as a daemon to monitor events and output to a log file.
cxl monitor --daemon --log=/var/log/cxl-monitor.log
Run a monitor as a one-shot command and output the notifications to stdio.
cxl monitor
Run a monitor daemon as a system service
systemctl start cxl-monitor.service
Options
-l, --log=
Send log messages to the specified destination.
• "<file>": Send log messages to specified <file>.
• "standard": Send messages to standard output.
The default log destination is /var/log/cxl-monitor.log if "--daemon" is specified, otherwise standard. Note that standard and relative path for <file> will not work if "--daemon" is specified.
-
--daemon -
Run a monitor as a daemon.
-
-v, --verbose -
Emit more debug messages
-
-u, --human -
By default the command will output machine-friendly raw-integer data. Instead, with this flag, numbers representing storage size will be formatted as human readable strings with units, other fields are converted to hexadecimal strings.
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie)
- Debian 12 (Bookworm)