NVME-OCP-INTERNAL() | NVME-OCP-INTERNAL() |
NAME¶
nvme-ocp-internal-log - 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> | -o <file>]
[--output-format=<fmt> | -f <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>
-s <file>, --string-log=<file>
-o <file>, --output-file=<file>
-f <fmt>, --output-format=<fmt>
-a <da>, --data-area=<da>
-t <type>, --telemetry-type=<type>
EXAMPLES¶
# nvme ocp internal-log /dev/nvme0
# nvme ocp internal-log /dev/nvme0 --string-log=ocp_string_log.bin
--output-file=output_file.json
# nvme ocp internal-log /dev/nvme0 --telemetry-log=host_telemetry.bin
--output-format=json --output-file=output_file.json --data-area=2
# nvme ocp internal-log /dev/nvme0 --string-log=ocp_string_log.bin
--telemetry-log=host_telemetry.bin --output-format=normal
--output-file=output_file.txt --data-area=2
NVME¶
Part of the nvme-user suite