NVME-LOG-ENDURANCE(1)
NVME-LOG-ENDURANCE(1) β¨
okay so bestie, welcome to the NVMe Manual page for nvme-log-endurance-event-agg β yes that's a whole mouthful, but it's giving "important little log command" and honestly? iconic. π
NAME
nvme-log-endurance-event-agg β send an NVMe Endurance log page request, get the result and the log back. that's it, that's the whole vibe. π¦
SYNOPSIS
nvme [<global-options>] log endurance-event-agg <device>
[--log-entries=<log_entries> | -e <log_entries>]
[--rae | -r]
[--raw-binary | -b]
look at her. so structured. so slay. πΈ
DESCRIPTION
so what does she actually do? she retrieves the NVMe Endurance Event Aggregate log page from an NVMe device and hands you back the returned structure. literally that simple, no cap. π
the <device> parameter is mandatory β you cannot skip her, she's the main character β and it can be either the NVMe character device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1). either one is fine, pick your fighter. π
on success, that returned endurance event agg log structure can come back in one of several ways depending on your option flags, and there's a whole little menu of formats:
- the structure may be parsed by the program and printed in a readable format (the cozy option π)
- the raw buffer may be printed to stdout so another program can parse it (the "hand it off to your friend" option π₯)
- or it gets reported in json format (the "script girlies rise" option β¨)
OPTIONS
-e <log_entries>,--log-entries=<log_entries>β retrieve the Endurance Group Event Aggregate Log pending entries. this argument is mandatory (yes, required, don't forget her π) and its success may depend on the device's statistics to provide this log. for more details see NVM Express 1.4 Spec. Section 5.14.1.15. also, the maximum number of log entries supported is2044for the device β so like, 2044 is the ceiling, bestie, don't push past it. π-r,--raeβ Retain an Asynchronous Event. that's the whole description, she's short and mysterious and we respect it. π
GLOBAL OPTIONS
these ones live at the top-level nvme command and are available to this subcommand too β so they're like, the family options. everyone shares. π«Ά
--dry-runβ print the command that would be executed, but don't actually execute it. a little dress rehearsal, no commitment. π--no-ioctl-probingβ disable probing for 64-bit IOCTL support.--no-retriesβ disable retry logic on transient errors. one shot, one opportunity.-o <fmt>,--output-format=<fmt>β set the reporting format tonormal,tabular,json, orbinary. only one output format may be used at a time β you can't have all four, that's greedy. π--output-format-version=<version>β select the output format version. Version1uses the original field naming, while version2(default) provides more consistent and script-friendly field names. other versions are rejected β sorry babe, we don't do that here. π ββοΈ--quietβ suppress informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. she's a "shhh" button but not a "hide the problems" button. π--set-options=<key=value>[,<key=value>...]β set libnvme library options for this invocation. supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir. π§--timeout=<ms>β set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). basically "wait forever" is a valid mood. π-v,--verboseβ increase the level of detail in the output. may be specified multiple times to further increase verbosity β so-v,-vv,-vvv, go off. π₯
also!! these options can be set as machine-wide defaults in nvme-cli.conf(5). and a command-line flag always overrides the file. flag supremacy, periodt. π
EXAMPLES
- print the Endurance log page in a human readable format:
# nvme log endurance-event-agg /dev/nvme0
- print the raw Endurance log to a file:
# nvme log endurance-event-agg /dev/nvme0 --output=binary > endurance_event_agg_log.raw
β οΈ it is probably a bad idea to not redirect stdout when using this mode. like fr fr, don't just let that raw binary spill onto your terminal and act surprised. redirect it. π
NVME
part of the nvme-user suite. one of the family. π
and that's the whole page, bestie!! π this one's from the NVMe Manual, dated <highlight>10/30/2026</highlight>, and it signs off as NVMe / NVME-LOG-ENDURANCE(1) β mwah, go get that endurance log. π
β¨π
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms