NVME-OCP-HARDWARE-COMPONENT-LOG(1)
π NVME-OCP-HARDWARE-COMPONENT-LOG(1) π
okay bestie, welcome to the nvme-ocp-hardware-component-log page β yes, that's the manual name AND the command, we're doing both, slay β¨
πΈ NAME πΈ
nvme-ocp-hardware-component-log β retrieve hardware component log π
β¨ SYNOPSIS β¨
nvme [<global-options>] ocp hardware-component-log <device>
[--comp-id=<num> | -i <num>]
[--list | -l]
π¦ DESCRIPTION π¦
Retrieve hardware component log. That's the whole vibe, honestly. π
The <device> parameter is mandatory β it's your NVMe character device (ex: /dev/nvme0). No device, no log, no exceptions, iykyk π«Ά
This will only work on OCP compliant devices supporting this feature. Results for any other device are undefined β and not "undefined but probably fine" undefined, like actually undefined π so pls don't.
On success it returns 0, error code otherwise. That's the deal. β
π OPTIONS π
-i <num>,--comp-id=<num>β component identifier π β here's the whole menu of component IDs, no cap:0x0000β Reserved0x0001 | asicβ Controller ASIC component0x0002 | nandβ NAND Component0x0003 | dramβ DRAM Component0x0004 | pmicβ PMIC Component0x0005 | pcbβ PCB Component0x0006 | capβ capacitor component0x0007 | regβ registor component0x0008 | caseβ case component0x0009 | snβ Device Serial Number0x000A | countryβ Country of Origin0x000B | hw-revβ Global Device Hardware Revision0x000C-0x7FFFβ Reserved0x8000 | vendorβ Vendor Unique Component0x8001-0xFFFFβ Vendor Unique Component
-l,--listβ list component descriptions π (the "just show me what's on the menu" flag, obsessed)
π GLOBAL OPTIONS π
The following options are defined at the top-level nvme command and are available to this subcommand β so they're like, the main character energy options that trickle down to us π§
--dry-runβ Print the command that would be executed, but do not actually execute it. Manifesting the command without committing, honestly iconic π¦--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. Pick ONE, bestie, we're not doing a whole fit change mid-run π--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 β the door is closed, fr fr πͺ--quietβ Suppress informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level. It's giving "don't talk to me unless it's an emergency" π--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. Look at all those little knobs π--timeout=<ms>β Set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). Commitment issues? Valid. Literally supported. β³-v,--verboseβ Increase the level of detail in the output. May be specified multiple times to further increase verbosity. Stack it, layer it, spritz it like perfume πΈ
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, always, no discussion π)
β EXAMPLES β
- Has the program issue a ocp hardware-component-log
# nvme ocp hardware-component-log /dev/nvme0
- Has the program issue a ocp hardware-component-log with asic component list
# nvme ocp hardware-component-log /dev/nvme0 -i asic -l
π NVME π
Part of the nvme-user suite. π«Ά
okay that's the whole page, go forth and log those hardware components bestie πβ¨ this was NVME-OCP-HARDWARE() β athorized by the nvme-user suite, and dated the day you opened this, mwah ππ₯
π¦ 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