modules

Synopsis

opendmi [global options] modules [command options]

Description

The modules command lists the extension modules the utility was built with, giving the name of each module and the vendor it covers.

A module describes the OEM-specific structures of a vendor, which are the ones of types 128 to 255. Those types mean different things to different vendors, so a module is only enabled for the platforms of its vendor: automatically, as the data is read, or with the global --module option. The structures no enabled module describes are shown as raw data. The global --no-auto-modules option leaves the modules of the platform disabled.

Some modules depend on the product line and the generation of the platform too, which are told from the system information: the hpe module is enabled for HP and HPE servers only, and decodes the structures of each generation by their own layout.

The intel module describes the structures of the Intel reference code, which the firmware of any vendor may carry, and is enabled for any platform with Intel processors. The modules of the vendors take precedence over it where they give the same types to structures of their own. The intel-rsd module describes the structures of Intel Rack Scale Design, found on the platforms built to it only, and is enabled with --module.

The name printed here is what --module takes, both as a global option which enables a module and as a filter option which limits the output to the structures that module describes. Use opendmi-types to see the types a module adds.

The command reads no SMBIOS data, so it works without access to the platform.

Options

-?, -h, --help

Print help and exit.

-r, --raw

Print the fields separated by tabs rather than aligned in columns, so that the output is easy to read with cut(1) or awk(1). This is the default when the standard output is not a terminal.

Exit status

0

Modules have been listed.

2

Command line is invalid.

Examples

List the modules available:

$ opendmi modules

Decode the structures of a vendor with the module for it, when the data does not tell the vendor:

$ opendmi -m lenovo show

Show the structures that module describes, and nothing else:

$ opendmi -m lenovo show -m lenovo