nvme-wdc-cap-diag - Man Page

Retrieve WDC device's diagnostic log and save to file.

Synopsis

nvme wdc cap-diag <device> [--output-file=<FILE>, -o <FILE>] [--transfer-size=<SIZE>, -s <SIZE>]

Description

For the NVMe device given, sends the WDC Vendor Unique Capture-Diagnostics request and saves the result to a file.

The <device> parameter is mandatory NVMe character device (ex: /dev/nvme0).

This will only work on WDC devices supporting this feature. Results for any other device are undefined.

Options

-o <FILE>, --output-file=<FILE>

Output file; defaults to device serial number followed by "cap_diag" suffix

-s <SIZE>, --transfer-size=<SIZE>

Transfer size; defaults to 0x10000 (65536 decimal) bytes

Examples

Nvme

Part of the nvme-user suite.

Info

04/24/2020 NVMe Manual