Linux Commands Examples

A great documentation place for Linux commands


VPD structure decoder

see also : biosdecode - dmidecode - ownership


vpddecode [OPTIONS]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


cp $PKG_BUILD/ownership $INSTALL/usr/bin/
cp $PKG_BUILD/vpddecode $INSTALL/usr/bin/


vpddecode prints the "vital product data" information that can be found in almost all IBM and Lenovo computers. Available items are:


Box Serial Number

Motherboard Serial Number

Machine Type/Model

Some systems have these additional items:

BIOS Release Date

Default Flash Image File Name

Note that these additional items are not documented by IBM, so this is guess work, and as such should not be blindly trusted. Feedback about the accuracy of these labels is welcome.


-d, --dev-mem FILE

Read memory from device FILE (default: /dev/mem)

-s, --string KEYWORD

Only display the value of the VPD string identified by KEYWORD. KEYWORD must be a keyword from the following 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 all strings may be defined on all VPD -enabled systems. If KEYWORD is not provided or not valid, a list of all valid keywords is printed and vpddecode exits with an error. This option cannot be used more than once. Mutually exclusive with --dump.

-u, --dump

Do not decode the VPD records, dump their contents as hexadecimal instead. Note that this is still a text output, no binary data will be thrown upon you. ASCII equivalent is displayed when possible. This option is mainly useful for debugging. Mutually exclusive with --string.

-h, --help

Display usage information and exit

-V, --version

Display the version and exit



see also

biosdecode , dmidecode , mem, ownership


Jean Delvare

How can this site be more helpful to YOU ?

give  feedback