NVME-OCP-HARDWARE-COMPONENT-LOG(1)

πŸ“¦ version 3.2, in arch rolling

πŸ’– 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 β€” Reserved
    • 0x0001 | asic β€” Controller ASIC component
    • 0x0002 | nand β€” NAND Component
    • 0x0003 | dram β€” DRAM Component
    • 0x0004 | pmic β€” PMIC Component
    • 0x0005 | pcb β€” PCB Component
    • 0x0006 | cap β€” capacitor component
    • 0x0007 | reg β€” registor component
    • 0x0008 | case β€” case component
    • 0x0009 | sn β€” Device Serial Number
    • 0x000A | country β€” Country of Origin
    • 0x000B | hw-rev β€” Global Device Hardware Revision
    • 0x000C-0x7FFF β€” Reserved
    • 0x8000 | vendor β€” Vendor Unique Component
    • 0x8001-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 to normal, tabular, 'json, or binary. 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. Version 1 uses the original field naming, while version 2 (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 --quiet cancels any --verbose for 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 are force-4k, mi-probe-enabled, test-base-dir and test-sysfs-dir. Look at all those little knobs πŸ’…
  • --timeout=<ms> β€” Set the timeout for the command in milliseconds. infinite or -1 waits 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