dmiget [-s hostname] -h | {-c compId [-g groupId] [-a attrId]}
The command line arguments for dmiget are described in Table 7-2.
Table 7-2 dmiget Command Line Arguments
Argument |
Description |
---|---|
-s hostname |
Specifies the host machine that dmisp is running on; the default host is the local host |
-h |
Prints usage information |
-c compId |
Displays all the table information for a specified component |
-g groupId |
Displays the group information for a component specified with the -c argument |
-a attrId |
Displays the attributes for the component specified with the -c argument |
The following command displays the table information in group 2 of component 3.
%dmiget -c 3 -g 2 Connecting to dmispd on the localhost... For group 2 of component 3: Id: 10, 10 Id: 20, developer1 Id: 30, SunSoft Id: 40, Solaris 2.6 Id: 10, 20 Id: 20, developer2 Id: 30, SunSoft Id: 40, Solaris 2.6 Id: 10, 30 Id: 20, developer3 Id: 30, SunSoft Id: 40, Solaris 2.6
The following command displays the table information for component 3.
%dmiget -c 3 Connecting to dmispd on the localhost... For group 1 of component 3: Id: 1, SunSoft Id: 2, DMTF Demonstration Id: 3, Version 1.0 Id: 4, 1.00000 Id: 5, 1994 06 03 09 00 00 Id: 6, 0 Id: 7, 0 Id: 8, Id: 9, Id: 10, 0 Id: 11, Id: 12, For group 2 of component 3: Id: 10, 10 Id: 20, developer1 Id: 30, SunSoft Id: 40, Solaris 2.6 Id: 10, 20 Id: 20, developer2 Id: 30, SunSoft Id: 40, Solaris 2.6 Id: 10, 30 Id: 20, developer3 Id: 30, SunSoft Id: 40, Solaris 2.6
For group 42 of component 3: Id: 1, Circus Id: 2, 4.0a Id: 1, Disk Blaster Id: 2, 2.0c Id: 1, Oleo Id: 2, 3.0 Id: 1, Presenter Id: 2, 1.2
The following command displays table information for attribute 20 in group 2 of component 3.
%dmiget -c 3 -g 2 -a 20 -s snowbell Connecting to dmispd on the snowbell... For group 2 of component 3: Id: 20, developer1 Id: 20, developer2 Id: 20, developer3