1NVME-WDC-CAP-DIAG(1)              NVMe Manual             NVME-WDC-CAP-DIAG(1)
2
3
4

NAME

6       nvme-wdc-cap-diag - Retrieve WDC device's diagnostic log and save to
7       file.
8

SYNOPSIS

10       nvme wdc cap-diag <device> [--output-file=<FILE>, -o <FILE>]
11

DESCRIPTION

13       For the NVMe device given, sends the WDC Vendor Unique
14       Capture-Diagnostics request and saves the result to a file.
15
16       The <device> parameter is mandatory NVMe character device (ex:
17       /dev/nvme0).
18
19       This will only work on WDC devices supporting this feature. Results for
20       any other device are undefined.
21

OPTIONS

23       -o <FILE>, --output-file=<FILE>
24           Output file; defaults to device serial number followed by
25           "cap_diag" suffix
26

EXAMPLES

28       ·   Gets the capture diagnostics log from the device and saves to
29           default file in current directory (e.g. STM00019F3F9cap_diag.bin):
30
31               # nvme wdc cap-diag /dev/nvme0
32
33       ·   Gets the capture diagnostics log from the device and saves to
34           defined file in current directory (e.g.
35           testSTM00019F3F9cap_diag.bin):
36
37               # nvme wdc cap-diag /dev/nvme0 -o test
38
39       ·   Gets the capture diagnostics log from the device and saves to
40           defined file with pathname (e.g.
41           /tmp/testSTM00019F3F9cap_diag.bin):
42
43               # nvme wdc cap-diag /dev/nvme0 -o /tmp/test
44

NVME

46       Part of the nvme-user suite.
47
48
49
50NVMe                              06/05/2018              NVME-WDC-CAP-DIAG(1)
Impressum