7.2.1 dmi_cmd Examples
7.2.1.1 Example 1
The following command lists the component ID, name, and description of up to 5 components, starting from component 3 in the dmispd running on the host snowbell, by using the default request mode (DMI_UNIQUE).
%dmi_cmd -s snowbell -CL -d -c 3 -m 5 Connecting to dmispd on the snowbell... CompId: 4 Comp Name: DMTF Developers - Direct Interface Version Description: A list of the people who actually wrote the code. CompId: 5 Comp Name: DMTF Developers - Direct Interface Version Description: A list of the people who actually wrote the code. CompId: 6 Comp Name: DMTF Developers - Direct Interface Version Description: A list of the people who actually wrote the code. CompId: 7 Comp Name: DMTF Developers - Direct Interface Version Description: A list of the people who actually wrote the code. CompId: 8 Comp Name: DMTF Developers - Direct Interface Version Description: A list of the people who actually wrote the code. |
7.2.1.2 Example 2
The following command lists the ID, name, storage, access mode, date type, and maximum size of all attributes in group 1 of component 1 in the dmispd running on local host, by using default request mode (DMI_UNIQUE). No description is displayed, and no limitation is set for max count.
%dmi_cmd -AL -g 1 -c 1 Connecting to dmispd on the localhost... 12 attrs listed for group 1 of comp 1 Attr Id: 1 Name: Manufacturer Storage: MIF_COMMON Access: MIF_READ_ONLY Type: MIF_DISPLAYSTRING maxSize: 64 Attr Id: 2 Name: Product Storage: MIF_COMMON Access: MIF_READ_ONLY Type: MIF_DISPLAYSTRING maxSize: 64 Attr Id: 3 Name: Version Storage: MIF_COMMON Access: MIF_READ_ONLY Type: MIF_DISPLAYSTRING maxSize: 64 Attr Id: 4 Name: Serial Number Storage: MIF_SPECIFIC Access: MIF_READ_ONLY Type: MIF_DISPLAYSTRING maxSize: 64 Attr Id: 5 Name: Installation Storage: MIF_SPECIFIC Access: MIF_READ_ONLY Type: MIF_DATE maxSize: 0 Attr Id: 6 Name: Verify Storage: MIF_SPECIFIC Access: MIF_READ_ONLY Type: MIF_INTEGER maxSize: 0 Attr Id: 7 Name: ComponentId Storage: MIF_SPECIFIC Access: MIF_READ_ONLY Type: MIF_INTEGER maxSize: 0 Attr Id: 8 Name: ComponentName Storage: MIF_SPECIFIC Access: MIF_READ_ONLY Type: MIF_DISPLAYSTRING maxSize: 256 Attr Id: 9 Name: ComponentDesc Storage: MIF_SPECIFIC Access: MIF_READ_ONLY Type: MIF_DISPLAYSTRING maxSize: 256 Attr Id: 10 Name: GroupId Storage: MIF_SPECIFIC Access: MIF_READ_ONLY Type: MIF_INTEGER maxSize: 0 Attr Id: 11 Name: GroupName Storage: MIF_SPECIFIC Access: MIF_READ_ONLY Type: MIF_DISPLAYSTRING maxSize: 256 Attr Id: 12 Name: LanguageName Storage: MIF_SPECIFIC Access: MIF_READ_ONLY Type: MIF_DISPLAYSTRING maxSize: 256 |