1NVME-ENDURANCE-LOG(1)             NVMe Manual            NVME-ENDURANCE-LOG(1)
2
3
4

NAME

6       nvme-endurance-log - Send NVMe Endurance log page request, returns
7       result and log
8

SYNOPSIS

10       nvme endurance-log <device> [--group-id=<group> | -g <group>]
11                               [--output-format=<fmt> | -o <fmt>]
12

DESCRIPTION

14       Retrieves the NVMe Endurance log page from an NVMe device and provides
15       the returned 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 endurance log structure may be returned in one
22       of several ways depending on the option flags; the structure may parsed
23       by the program and printed in a readable format, the raw buffer may be
24       printed to stdout for another program to parse, or reported in json
25       format.
26

OPTIONS

28       -g <group>, --group-id=<group>
29           The endurance group identifier.
30
31       -o <format>, --output-format=<format>
32           Set the reporting format to normal, json, or binary. Only one
33           output format can be used at a time.
34

EXAMPLES

36       •   Print the Endurance log page in a human readable format:
37
38               # nvme endurance-log /dev/nvme0
39
40       •   Print the raw Endurance log to a file:
41
42               # nvme endurance-log /dev/nvme0 --output=binary > endurance_log.raw
43
44           It is probably a bad idea to not redirect stdout when using this
45           mode.
46

NVME

48       Part of the nvme-user suite
49
50
51
52NVMe                              04/11/2022             NVME-ENDURANCE-LOG(1)
Impressum