GET-DSSD-POWER-ST(1)

✨ GET-DSSD-POWER-ST(1) ✨

okay bestie, so this is a page from the NVMe Manual and it's literally all about nvme-ocp-get-dssd-power-state-feature β€” the command that gets your DSSD Power State. buckle up πŸ’…


πŸŽ€ NAME πŸŽ€

nvme-ocp-get-dssd-power-state-feature β€” Get DSSD Power State


πŸ¦‹ SYNOPSIS πŸ¦‹

nvme [<global-options>] ocp get-dssd-power-state-feature <device>
                        [--sel=<select> | -S <select>] [--all | -a]
                        [--no-uuid | -n]

🌸 DESCRIPTION 🌸

So for the NVMe device you hand over, this retrieves the OCP DSSD Power State. And here's the cute part β€” if you pass --all, it calls NVMe Get Feature three times and gives you back all three values: the Current, the Default, and the Saved one. three for the price of one, we love to see it ✨

The <device> parameter is mandatory (no skipping it, bestie) and it can be either the NVMe character device (like /dev/nvme0) or the block device (like /dev/nvme0n1). either one works, it's flexible like that 🫢

heads up: this will only work on OCP compliant devices that support this feature. for any other device, the results are undefined β€” like, genuinely undefined, not "undefined but cute". so pls know your device 😭

On success it returns 0, and an error code otherwise. that's the whole deal πŸ’–


πŸ’… OPTIONS πŸ’…

  • -S <select>, --sel=<select> β€” Select (SEL): this field specifies which value of the attributes to return in the provided data. the options are:
    • 0 β€” current β€” Current
    • 1 β€” default β€” Default
    • 2 β€” saved β€” Saved
    • 3 β€” supported β€” Supported capabilities
  • -a, --all β€” Print out all 3 values at once β€” Current DSSD Power State, Default DSSD Power State, and Saved DSSD Power State. the whole trio, iconic πŸ‘‘
  • -n, --no-uuid β€” Do not try to automatically detect the UUID index for this command. this one is required for old OCP 1.0 support, so if you're on the vintage vibe, this is your girl πŸŽ€

🌈 GLOBAL OPTIONS 🌈

The following options are defined at the top-level nvme command and are available to this subcommand. so they're like, upstairs, but they still come down to hang out:

  • --dry-run β€” Print the command that would be executed, but do not actually execute it. all the plot, none of the action πŸ’€
  • --no-ioctl-probing β€” Disable probing for 64-bit IOCTL support.
  • --no-retries β€” Disable retry logic on transient errors.
  • -o <fmt>, --output-format=<fmt> β€” Set the reporting format to normal, tabular, 'json, or binary. only one output format may be used at a time, so don't get greedy 😌
  • --output-format-version=<version> β€” Select the output format version. Version 1 uses the original field naming, while version 2 (the default) provides more consistent and script-friendly field names. any other versions are rejected, no cap 🚫
  • --quiet β€” Suppress informational messages. errors are still reported, and --quiet cancels any --verbose for the library log level. so it's a whole vibe override 🌸
  • --set-options=<key=value>[,<key=value>...] β€” Set libnvme library options for this invocation. supported keys are force-4k, mi-probe-enabled, test-base-dir and test-sysfs-dir.
  • --timeout=<ms> β€” Set the timeout for the command in milliseconds. infinite or -1 waits without a time limit (0xffffffff). the patience of a saint, fr fr πŸ™ˆ
  • -v, --verbose β€” Increase the level of detail in the output. may be specified multiple times to further increase verbosity. stack it like your skincare routine 🧴

These options can also be set as machine-wide defaults in nvme-cli.conf(5). a command-line flag always overrides the file β€” flag supremacy, periodt πŸ‘‘


⭐ EXAMPLES ⭐

  • Has the program issue a get-dssd-power-state-feature command to get the Curent DSSD Power State in watts. (yes, "Curent", the original said it like that, we're keeping it πŸ’–)
# nvme ocp get-dssd-power-state-feature /dev/nvme0 -S 0
  • Has the program issue a get-dssd-power-state-feature command to get all three DSSD Power States in watts.
# nvme ocp get-dssd-power-state-feature /dev/nvme0 -a

πŸ‘‘ NVME πŸ‘‘

Part of the nvme-user suite. she runs with the whole crew 🌈


mwah, that's the whole page πŸ’œ this one came to you from the NVMe corner of the universe, dated 10/30/2026, and it lives at GET-DSSD-POWER-ST(1) β€” go forth and read your power states, bestie, you're gonna slay 🫢✨

πŸ“¦ where this page comes from