1NVME-FW-LOG(1) NVMe Manual NVME-FW-LOG(1)
2
3
4
6 nvme-fw-log - Send NVMe Firmware log page request, returns result and
7 log
8
10 nvme fw-log <device> [--raw-binary | -b]
11 [--output-format=<fmt> | -o <fmt>]
12
14 Retrieves the NVMe Firmware log page from an NVMe device and provides
15 the retuned structure.
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 f/w 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 may be
24 printed to stdout for another program to parse.
25
27 -b, --raw-binary
28 Print the raw fw log buffer to stdout.
29
30 -o <format>, --output-format=<format>
31 Set the reporting format to normal, json, or binary. Only one
32 output format can be used at a time.
33
35 · Print the firmware log page in a human readable format:
36
37 # nvme fw-log /dev/nvme0
38
39 · Print the log firmware to a file:
40
41 # nvme fw-log /dev/nvme0 --raw-binary > fw_log.raw
42
43 It is probably a bad idea to not redirect stdout when using this
44 mode.
45
47 Part of the nvme-user suite
48
49
50
51NVMe 06/05/2018 NVME-FW-LOG(1)