nvme-ocp-internal-log - Man Page

Conditionally retrieves 07h Telemetry Host-Initiated log, C9h OCP Strings Log from an NVMe device or from user-specified file path​. Takes retrieved logs and decodes into human-readable output format specified by user​.

Synopsis

nvme ocp internal-log <device>
                        [--telemetry-log=<file> | -l <file>]
                        [--string-log=<file> | -s <file>]
                        [--output-file=<file> | -f <file>]
                        [--output-format=<fmt> | -o <fmt>]
                        [--data-area=<da> | -a <da>]
                        [--telemetry-type=<type> | -t <type>]

Description

Conditionally retrieves 07h Telemetry Host-Initiated log, C9h OCP Strings Log from an NVMe device or from user-specified file path​. Takes retrieved logs and decodes (or) parses into human-readable output format specified by user​.

The <device> parameter is mandatory and may be either the NVMe character device (ex: /dev/nvme0), or a namespace 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​.

Options

-l <file>, --telemetry-log=<file>

File name to existing Telemetry Host-Initiated raw binary data to be used​. If no path is specified, a live retrieval of payload on <device> will be performed​.

-s <file>, --string-log=<file>

File name to existing OCP String Log raw binary data to be used​. If no path is specified, a live retrieval of payload on <device> will be performed​.

-f <file>, --output-file=<file>

Filepath name used as the prefix for the telemetry and string log bin files along with the human-readable parsed output file​.

-o <fmt>, --output-format=<fmt>

Set the reporting format to normal, json​. Only one output format can be used at a time, the default value is json​.

-a <da>, --data-area=<da>

Retrieves the specific data area requested​. Valid inputs are 1, 2, 3, or 4​. If this option is not specified, the default value is 1​.

-t <type>, --telemetry-type=<type>

Set the telemetry type to host, host0, host1 or controller​. If set to host1, controller shall capture the Telemetry Host-Initiated data representing the internal state of the controller at the time the associated Get Log Page command is processed​. If set to host0, controller shall not update this data​.

Examples

Nvme

Part of the nvme-user suite

Referenced By

nvme(1).