nvme-ocp-device-capability-log - Retrieves OCP Device Capability Log Page
Contents
Description
For the NVMe device given, retrieves OCP Device Capability Log Page
The <device> parameter is mandatory and may be either the NVMe character device (ex: /dev/nvme0) or block
device (ex: /dev/nvme0n1).
This will only work on OCP compliant devices supporting this feature. Results for any other device are
undefined.
On success it returns 0, error code otherwise.
Examples
• Has the program issue a device-capability-log command to retrieve the 0xC4 log page.
# nvme ocp device-capability-log /dev/nvme0 -o normal
Name
nvme-ocp-device-capability-log - Retrieves OCP Device Capability Log Page
Nvme
Part of the nvme-user suite.
NVMe 02/16/2025 NVME-OCP-DEVICE-C(1)
Options
-o <fmt>, --output-format=<fmt>
Set the reporting format to normal or json or binary. Only one output format can be used at a time.
The default is normal.
Synopsis
nvmeocpdevice-capability-log <device> [--output-format=<fmt> | -o <fmt>]
