Linux "vpddecode" Command Line Options and Examples
VPD structure decoder

vpddecode prints the "vital product data" information that can be found in almost all IBM and Lenovo comput‐ ers.


Usage:

vpddecode [OPTIONS]






Command Line Options:

-d
Read memory from device FILE (default: /dev/mem)
vpddecode -d ...
-s
Only display the value of the VPD string identified by KEYWORD. KEYWORD must be a keyword from thefollowing list: bios-build-id, box-serial-number, motherboard-serial-number, machine-type-model, bios-release-date. Each keyword corresponds to an offset and a length within the VPD record. Not allstrings may be defined on all VPD-enabled systems. If KEYWORD is not provided or not valid, a list ofall valid keywords is printed and vpddecode exits with an error. This option cannot be used more thanonce. Mutually exclusive with --dump.
vpddecode -s ...
-u
Do not decode the VPD records, dump their contents as hexadecimal instead. Note that this is still atext output, no binary data will be thrown upon you. ASCII equivalent is displayed when possible. Thisoption is mainly useful for debugging. Mutually exclusive with --string.
vpddecode -u ...
-h
Display usage information and exit
vpddecode -h ...
-V
Display the version and exitFILES/dev/memAUTHORJean Delvare
vpddecode -V ...