NVME-FEAT-TEMP-TH(1)
π nvme-feat-temp-thresh(1) β the NVMe Manual, bestie edition
okay so picture this: it's nvme-feat-temp-thresh(1), straight out of the NVMe Manual, and it's here to get and set the temperature threshold feature. that's the whole vibe. let's go β¨
π¦ SYNOPSIS
nvme [<global-options>] feat temp-thresh <device>
[--tmpth=<tmpth> | -t <tmpth>] [--thsel=<thsel>]
[--sel=<select> | -S <select>] [--save | -s]
πΈ DESCRIPTION
Get and set temperature threshold feature. that's it, that's the plot π
The <device> parameter is mandatory, no cap β you literally cannot skip it. it can be either the NVMe character device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1). either one is valid, pick your fighter π«Ά
here's the tea on how it behaves:
- If you pass the setting options (
--tmpthor--thsel), the command will update the temperature threshold configuration for the device. so it's a write moment π - If you omit those options, it retrieves and displays the current configuration. read-only era, we love a chill one π
On success it returns 0, error code otherwise. periodt.
β¨ OPTIONS β¨
-t <tmpth>,--tmpth=<tmpth>β Temperature Threshold. gives the threshold temperature value in Kelvin (yes, Kelvin, we're being scientific today π§).--thsel=<thsel>β Threshold Type Select. says which type of threshold you mean (e.g., over-temperature threshold or under-temperature threshold). very "pick a lane" of it π-S <select>,--sel=<select>β Select (SEL): this field specifies which value of the attributes to return in the provided data:0β current β Current1β default β Default2β saved β Saved3β supported β Supported capabilities
-s,--saveβ Save the attribute so that it persists through all power states and resets. it really said "i'm staying" ππ«Ά
π GLOBAL OPTIONS
these are defined at the top-level nvme command and are available to this subcommand too. shared custody, iconic:
--dry-runβ Print the command that would be executed, but do not actually execute it. window shopping only ποΈ--no-ioctl-probingβ Disable probing for 64-bit IOCTL support.--no-retriesβ Disable retry logic on transient errors. one shot, no second chances π-o <fmt>,--output-format=<fmt>β Set the reporting format tonormal,tabular,json, orbinary. Only one output format may be used at a time β don't be 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. ngl, v2 is the main character here β--quietβ Suppress informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level. shhh π€«--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). no clock-watching allowed β³-v,--verboseβ Increase the level of detail in the output. May be specified multiple times to further increase verbosity. stack it, queen π
these options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file. flag > file, every single time π
π EXAMPLES
- Has the program issue a
feat temp-threshto get the current configuration β the "just looking" example:
# nvme feat temp-thresh /dev/nvme0
- Has the program issue a
feat temp-threshto set the over-temperature threshold to 310 Kelvin β the "we're committing" example:
# nvme feat temp-thresh /dev/nvme0 --tmpth=310 --thsel=0 --save
π₯ NVME
Part of the nvme-user suite. family business π«Ά
and that's the whole page, bestie π sign-off time: this was the NVMe Manual edition of nvme-feat-temp-thresh(1), dated 10/30/2026, brought to you by the nvme-user suite. go forth and check those temps π‘οΈβ¨π
π¦ 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