MSTVPD(1)

πŸ“¦
version 4.37.0_1.1 Β· 3 versions
, in centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– MSTVPD(1) β€” like, the Mellanox VPD read tool bestie πŸ’–

okay so before we even get into it: this is a page from the User Commands section of the manual, and it's all about mstvpd, the Mellanox VPD read tool. yes that's the NAME section, we're doing it, we're here, we're slaying 🫢


✨ SYNOPSIS ✨

mstvpd [-m|-n|-r] [-t ##] <file> [-- keyword ...]

look at her. she's got flags, she's got a file, she's got optional keywords after a --. iconic behavior honestly πŸ’…


🌸 DESCRIPTION 🌸

so the flags live here in the DESCRIPTION, which is a little chaotic of them, but we respect it. here's the full rundown, no skips, no shortcuts, because you deserve the whole truth:

  • -h β€” prints this help. that's it, that's the girl. πŸ’–
  • -v β€” prints the tool version. vibe check on which build you're running. ✨
  • -m β€” dumps the raw VPD data straight to stdout. unfiltered, no makeup, just the raw bytes bestie.
  • -n β€” does not validate the check sum. you're trusting the data with your whole chest here, so, yk.
  • -r β€” does not check and display the VPD_W tag in the vpd data.
  • -t ## β€” time out after ## seconds. the default is 30. so if you don't pass it, she waits 30 whole seconds before giving up. patience of a saint honestly 😭

then there's the actual argument, the main character of this whole operation:

  • file β€” the PCI id number of the HCA (for example, "2:00.0"),

the device name (such as "mlx4_0"), the absolute path to the device ("/sys/class/infiniband/mlx4_0/device"), or '-' to read VPD data from the standard input. yes, - means stdin, she's flexible like that πŸ¦‹

and finally:

  • keyword(s) β€” only display the requested information. (ID, PN, EC, SN, etc...) so if you only want a specific little crumb of info, you ask for it by name and she delivers. periodt. πŸ‘‘

πŸ’€ tiny heads up: -m, -n, and -r are grouped together in the synopsis as [-m|-n|-r], so don't come at me if you stack them weird. read the synopsis, bestie, she's telling you something.

🌈 SEE ALSO 🌈

  • mstflint(1) β€” go read that one too, they're friends 🫢

and that's the whole page!! this was mstflint, March 2020, MSTVPD(1) β€” mwah, go read your VPD data responsibly, ily, bye πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from