1NVME-SELF-TEST-LO(1) NVMe Manual NVME-SELF-TEST-LO(1)
2
3
4
6 nvme-self-test-log - Retrieve the log information initited by
7 device-self-test and display it
8
10 nvme self-test-log <device> [--output-format=<FMT> | -o <FMT>]
11
13 Retrieves the log pages from an NVMe device corresponding to the
14 requested self-test by the user and provides 20-most recent result
15 retuned strutcure.
16
17 The <device> parameter is mandatory and may be either the NVMe
18 character device (ex: /dev/nvme0), or a namespace block device (ex:
19 /dev/nvme0n1).
20
21 On success, the returned log structure may be returned in one of
22 several ways depending on the option flags; the structure may parsed by
23 the program and printed in a readable format or the raw buffer or the
24 json format.
25
26 By default the log is printed out in the normal readable format.
27
29 -o <format>, --output-format=<format>
30 Set the reporting format to normal, json, or binary. Only one
31 output format can be used at a time.
32
34 · Get the self-test-log and print it in a human readable format:
35
36 # nvme self-test-log /dev/nvme0
37
38 · Print the raw output to a file:
39
40 # nvme self-test-log /dev/nvme0 -o "binary"
41
42 · Get the self-test-log and print it in a json format:
43
44 # nvme self-test-log /dev/nvme0 -o "json"
45
47 Part of the nvme-user suite
48
49
50
51NVMe 06/15/2018 NVME-SELF-TEST-LO(1)