NVME-ID-IOCS(1) NVMe Manual NVME-ID-IOCS(1)

nvme-id-iocs - Send NVMe Identify I/O Command Set, return result and structure

nvme id-iocs <device> [--controller-id=<cntid> | -c <cntid>]
                        [--output-format=<fmt> | -o <fmt>] [--verbose | -v]

For the NVMe device given, send an identify command and return the Identify I/O Command Set data structure.

The <device> parameter is mandatory and may be either the NVMe character device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1).

-c <cntid>, --controller-id=<cntid>

Retrieve the identify I/O Command set data structure for the given cntid. If this value is not given, cntid will be 0xffff.

-H, --human-readable

This option will parse and format many of the bit fields into human-readable formats.

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

Set the reporting format to normal, json or binary. Only one output format can be used at a time.

-v, --verbose

Increase the information detail in the output.

•Have the program interpret the returned buffer and display the known fields in a human readable format:
# nvme id-iocs /dev/nvme0
•show the fields in human readable format
# nvme id-iocs /dev/nvme0 -H

Part of the nvme-user suite

02/16/2024 NVMe