The following table describes the example client program files and lists the commands and arguments to run each example.
Table 7–1 Client Example Files|
Example File Name |
Description |
Command to Run |
|---|---|---|
|
CreateNameSpace |
Connects to the CIM Object Manager as the specified user and creates a namespace on the specified host. You must type the root user name and password. |
java CreateNameSpace host parentNS childNS username password |
|
DeleteNameSpace |
Deletes the specified namespace on the specified host. You must type the root user name and password. |
java DeleteNameSpace host parentNS childNS username password |
|
ClientEnum |
Enumerates classes and instances in the specified class in the default namespace root\cimv2 on the specified host. |
java ClientEnum host className |
|
CreateLog |
Creates a log record on the specified host. You must type the root user name and password. |
java CreateLog host username password |
|
ReadLog |
Reads a log record on the specified host. You must type the root user name and password. |
java ReadLog host username password |
|
DeleteClass |
Deletes the specified class in the default namespace root\cimv2 on the specified host. You must type the root user name and password. |
java DeleteClass host className username password |
|
DeleteInstances |
Deletes instances of the specified class in the default namespace root\cimv2 on the specified host. You must type the root user name and password. |
java DeleteInstances host className username password |
|
CreateQualifierType |
Creates the specified qualifier type in the specified namespace on the specified host. You must type the root user name and password. |
java CreateQualifierType host parentNS username password qualifierTypeName |
|
SystemInfo |
Displays Solaris processor and system information for the specified host in a window. |
java SystemInfo host |