|
NAMEwbemcli - independent command line CIM ClientSYNOPSISwbemcli gc|gcd|dc|ec|ecn|gi|ci|mi|di|ei|ein|ai|ain|ri|rin|gp|sp|cm|cmx [-nl] [-h] [-t] [-cte] [-dx] [-dr] [-noverify] [-cacert file] [-clientcert file] [-clientkey file] [-ac assocClass] [-arc resultClass] [-ar role] [-arr resultRole] objectPath [prop=value[,...]] [prop[,...]]Alternate formats:wbemgc [-nl] [-h] [-t] [-dx] [-dr] objectPath [prop[,...]]wbemgcd [-nl] [-h] [-t] [-dx] [-dr] objectPath wbemdc [-nl] [-h] [-t] [-dx] [-dr] objectPath wbemec [-nl] [-h] [-t] [-cte] [-dx] [-dr] objectPath [prop[,...]] wbemecn [-nl] [-h] [-t] [-dx] [-dr] objectPath wbemgi [-nl] [-h] [-t] [-dx] [-dr] objectPath [prop[,...]] wbemci [-nl] [-h] [-t] [-dx] [-dr] objectPath [prop=value[,...]] wbemmi [-nl] [-h] [-t] [-dx] [-dr] objectPath [prop=value[,...]] wbemdi [-nl] [-h] [-t] [-dx] [-dr] objectPath wbemei [-nl] [-h] [-t] [-cte] [-dx] [-dr] objectPath [prop[,...]] wbemein [-nl] [-h] [-t] [-dx] [-dr] objectPath wbemai [-nl] [-h] [-t] [-cte] [-dx] [-dr] [-ac assocClass] [-arc resultClass] [-ar role] [-arr resultRole] objectPath [prop[,...]] wbemain [-nl] [-h] [-t] [-dx] [-dr] [-ac assocClass] [-arc resultClass] [-ar role] [-arr resultRole] objectPath wbemri [-nl] [-h] [-t] [-cte] [-dx] [-dr] [-arc resultClass] [-ar role] objectPath [prop[,...]] wbemrin [-nl] [-h] [-t] [-dx] [-dr] [-arc resultClass] [-ar role] objectPath wbemgp [-nl] [-h] [-t] [-dx] [-dr] objectPath prop wbemsp [-nl] [-h] [-t] [-dx] [-dr] objectPath prop=value wbemcm [-nl] [-h] [-t] [-dx] [-dr] objectPath method[.param=value[,...]] wbemcmx [-nl] [-h] [-t] [-dx] [-dr] objectPath method[.param=value[,...]] DESCRIPTIONwbemcli is a command line based CIM Client. It uses one of the gc|gcd|dc|ec|ecn|gi|ci|mi|di|ei|ein|ai|ain|ri|rin|gp|sp|cm|cmx operations and the fully qualified path to the CIM Object to get to the host and execute the specified operation. This implementation is CIMOM library independent and can be used with all WBEM compliant CIMOM implementations. The objectPath parameter is used to locate the CIM object and has the following format:<scheme>://[user:pwd@]<host>:<port>/<namespace[/..]>:<classname>[.<key=value[,..]>]
The prop=value[,...] parameter is used to specify <Property>=<Value> pairs for the ci, mi and sp operations. Only one <Property>=<Value> pair must be specified for the sp operation.
The prop[,...] parameter specifies the properties to be returned. One prop must be specified for the gp operation. For other operations this parameter is optional, if none are specified all properties will be returned.
The method[.param=value[,...] parameter is used to specify <Parameter>=<Value> pairs for the cm operation.
OPERATIONS:Supported operations are:
OPTIONS
LIBRARIESwbemcli requires either libghttp, libwww, or winhttp, depending on build options used.ExampleTo get all instances of rpm_packages, i.e. all installed rpm packages on the local system, the following command can be used:
The get instance operation can be specified to get more information about a certain package:
Host indirection supportThe scheme and host specification in the object path can be replaced by an arbitrary token that will be used to locate the proper scheme and host specification in ./wbemcli.ind or any file specified via the WBEMCLI_IND environment variable. The format of this file is as follows:
FILES
AUTHORAdrian Schuur <schuur@de.ibm.com>BUGSThe SBLIM project maintains a mailing list to which you should direct all questions regarding sfcb, sfcc, wbemcli, or any of the SBLIM providers. To subscribe to this mailing list visit
The SBLIM Project Bug tracking page can be found at
COPYRIGHT(C) Copyright IBM Corp. 2002, 2004, 2005, 2009AVAILABILITYwbemcli is a part of the SBLIM project. The most recent version is available on the web at
SEE ALSOcimserver(1)
Visit the GSP FreeBSD Man Page Interface. |