NVME-WDC-CAP-DIAG(1) | NVMe Manual | NVME-WDC-CAP-DIAG(1) |
nvme-wdc-cap-diag - Retrieve WDC device's diagnostic log and save to file.
nvme wdc cap-diag <device> [--output-file=<FILE>, -o <FILE>] [--transfer-size=<SIZE>, -s <SIZE>]
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.
-o <FILE>, --output-file=<FILE>
-s <SIZE>, --transfer-size=<SIZE>
# nvme wdc cap-diag /dev/nvme0
# nvme wdc cap-diag /dev/nvme0 -o test
# nvme wdc cap-diag /dev/nvme0 -o /tmp/test
# nvme wdc cap-diag /dev/nvme0 -s 0x10000
# nvme wdc cap-diag /dev/nvme0 -s 16384
Part of the nvme-user suite.
04/15/2023 | NVMe |