NVME-FEAT-POWER-T(1)
β¨ nvme-feat-power-thresh(1) β¨
okay so bestie, we're deep in the NVMe Manual today and this is the page for nvme-feat-power-thresh β the glow-up command for getting and setting the power threshold feature π
πΈ NAME πΈ
nvme-feat-power-thresh β get and set the power threshold feature. that's it, that's the vibe π
π¦ SYNOPSIS π¦
nvme [<global-options>] feat power-thresh <device>
[--pwrth=<pwrth> | -p <pwrth>] [--pvtht=<pvtht> | -t <pvtht>]
[--sel=<select> | -S <select>] [--save | -s]
π DESCRIPTION π
So. This command gets and sets the power threshold feature. Lowkey iconic.
The <device> parameter is mandatory β you literally cannot skip it, bestie. It can be either:
- the NVMe character device, like
/dev/nvme0β¨ - or a namespace block device, like
/dev/nvme0n1π«Ά
Here's the tea on how it behaves: if you specify any of the setting options (--pwrth or --pvtht), the command updates the power threshold configuration. But if you don't specify either of them? It just retrieves and displays the current configuration for you. no cap, it's that simple π
On success it returns 0 β any error code otherwise. periodt.
π OPTIONS π
-p <pwrth>,--pwrth=<pwrth>β Power Threshold. Specifies the power threshold value to be applied to the controller π₯-t <pvtht>,--pvtht=<pvtht>β Power Threshold Type. Specifies the type of power threshold, like static or dynamic threshold π¦-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 πΎβ¨
π GLOBAL OPTIONS π
The following options are defined at the top-level nvme command and are available to this subcommand β they're the main character energy that follows you everywhere:
--dry-runβ Print the command that would be executed, but do not actually execute it. look, don't touch π--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. pick one, bestie β¨--output-format-version=<version>β Select the output format version. Version 1 uses the original field naming, while version 2 (default) provides more consistent and script-friendly field names. Other versions are rejected π«--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). time is fake anyway β³-v,--verboseβ Increase the level of detail in the output. May be specified multiple times to further increase verbosity. say it louder for the people in the back π’
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file β CLI stays winning, fr fr π
π EXAMPLES π
- Has the program issue a
feat power-threshto get the current configuration:
# nvme feat power-thresh /dev/nvme0
- Has the program issue a
feat power-threshto set power threshold with saving enabled:
# nvme feat power-thresh /dev/nvme0 --pwrth=30 --pvtht=1 --save
π§ NVME π§
Part of the nvme-user suite. you're in good company, bestie π
okay that's the whole page, go be iconic with it π
β¨ β with love, from the NVMe crew, dated 10/30/2026, NVME-FEAT-POWER-T(1) ππ«Ά
π¦ 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