⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cli.nroff

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻 NROFF
📖 第 1 页 / 共 3 页
字号:
.B \-pl [propertyList]optional property list for the operation        It returns the instances found either as MOF or XML depending on the output options parameter..B Example    cimcli ei CIM_ComputerSystem -niq -di    This example enumerates CIM_ComputerSystem in the namespace root/CIMV2 (default) requesting withoutqualifiers (-niq) with deepInheritance (-di).  .TP.B niall enumerateallinstanceNamesExecute an enumerateinstancenames on all classes to get all instance names within the defined namespace.This function searches the complete namespace using the CIM getClass operation to get the classes and theenumerateInstanceNames command to enumerate all of the instances for each class. It returnsthe list of all of the instance names found in the namespace.The format is:.B	cimcli niall [options]where the options include any of the universal options (ex. namespace, location, etc.).B Example    cimcli niall -n test/testproviders    Returns all instancenames in the namespace test/testproviders by executing enumerateinstancenames    on each class in the namespace..TP.B mi    modifyinstanceNOTE: This command is not implemented in the current version and return afixed "NOT IMPLEMENTED" response.This is the same format as the createinstance.  The difference is that the instancemust already exist to be modified..TP.B gi    GetInstanceGets the instance defined by the instance name parameter and displays itin the format chosen for this operation (xml or mof).The syntax for this opration is:.BI	cimcli gi [objectname] [options]which causes execution of the CIM getinstance operation.OR.B	cimcli gi [class-name] [options]which presents a list of possible instances to the user from which one can be selectedfor the getinstance.  In this case, the command actually executes an enumerateInstanceNamesto get the list of instances that is presented to the user.  The getInstance is executedafter the user makes a selection.This command requieres the [objectname] parameter.  If the parameter is an instance withkeys defined (a CIMObjectPath), the a getInstance CIM operation is executed and thereturn from the CIM Server presented (in either xml or mof depending on the ouput option).If the input is a class name, a enumerateinstanceNames CIM Operation is executed and ifany instance names are returned the result is presented to the console for the user toselect one of the instances to be deleted.If there are no instances, the return from this command is normally an exception as definedin the DMTF CIM Operations specification..The possible options specific to this command are:.B \-iqinclude qualifiers.B \-nlolocalonly.B \-pl [propertyList]optional property list for the operation.B Example:	cimcli gi cim_managedElementThis is an interactive request that returns a list of instances from anenumerateinstance of CIM_ManagedElement from which the user can select one which cimcliwill return as a complete instance..TP.B di    deleteinstanceDelete instance executed a single deleteInstance command to the CIM Server.  The syntax is.B 	cimcli di [objectname] [options]This command requires the [objectname] parameter.  If this parameter is a full instancename with className and key bindings, the deleteInstance CIM Operation is executeddirectly.  If it is a class name with no keybindings, the  enumerateInstances commandis executed and the list of returned instances presented to the console for the userto select one to delete.  cimcli then executes deleteInstance with the selected instancename and returns the response,return - there is an empty response if the instance was successfully deleted oran exception return if there were any errors.cimcli di [object] [options].B Examples:.IPcimcli di PG_test.IPExecutes enumerateInstanceName on PG_test and allows the user to select theinstance to be deleted..IPcimcli di PG_test.name="abc".IPAttempts to delete that object in the default namespace..TP.B gq    getQualifiergetQualifier displays the target qualifier. The syntax iscimcli gq [qualifier name] [options].B Example:	cimcli gq abstract - returns the mof or xml for the abstract qualifier..TP.B sq    setQualifierThis command is not implemented..TP.B eq    enumeratequalifiersIssues the CIM Operation to enumerate all of the qualifiers defined in the target namespace. The syntax is:	cimcli eq [options]There are no special options for this operation..TP.B dq    deletequalifierIssues the CIM operation to delete the target qualifier defined by qualifier_name in the target namespace.The Syntax is:cimcli dq [qualifier_name] [options]NOTE: This should be used with great caution..TP.B a     associatorsEnumerate the associators CIM Operation for the target objectname.  The syntax for this operationis: .B    cimcli a [objectname] [options]Note that the objectname may be either a classname or an instancename.  If classnameis supplied, the return is a set of classes that match the objectname suppliedunless the -i (interactive) parameter is used.  If objectnameis used, the response is instances of the association that matches the classname.The options provide the various operation parameters including;.B \-ac [associationClass]association Class parameter.B \-rc [resultClass]resultClass parameter.B \-r [role]String defining the role parameter for the CIM Operation.B \-rr [resultrole]resultrole parameter.B \-icincludeClassOrigin The -ic parameter.B \-pl [properytlist]Optional PropertyList.B \-iInteractive request - If this parameter is supplied and the objectname is a classname, the   environment performs an enumerateinstances on the objectname and presents the list of possible   instances for user selection.TP.B an    associatornamesEnumerate teh associator names for the target object.  The syntax for this operationis:    cimcli an [objectname] [options]where objectname can be either a class name or an instance name. The options provide the various operation parameters including;.B \-ac [associationClass]association Class parameter.B \-rc [resultClass]resultClass parameter.B \-r [role]String defining the role parameter for the CIM Operation.B \-rr [resultrole]resultrole parameter.B \-iInteractive request - If this parameter is supplied and the objectname is a classname, the   environment performs an enumerateinstances on the objectname and presents the list of possible   instances for user selection.TP.B r referencesExecutes the CIM Operation references. Which returns CIM Objects.The format of the operation is:	cimcli r [objectname] [options]Note that the objectname may be either a classname or aninstancename.  If classnameis supplied, the return is a set of classes that match the objectname supplierunless the -i (interactive) parameter is used.  If objectnameis used, the response is instances of the association that matches the classnameWhere the options specifically used by this operation are:.B \-r [role]role parameter for the CIM Operation..B \-rc [resultClass]resultClass parameter for the CIM Operation.B \-iqincludQualifiers (The default is false).B \-icBoolean to set include class origin operation parameter to true..B \-pl [propertyList]optional property list for the operation.B \-iInteractive request - If this parameter is supplied and the objectname is a classname, the   environment performs an enumerateinstances on the objectname and presents the list of possible   instances for user selection.B Examples    TBD   .TP.B rn    referencenamesExecutes the CIM Operation referencenames.The format of the operation is:.B	cimcli rn [objectname] [options]Note that the objectname may be either a classname or a specific instancename.  If classnameis supplied, the return is a set of classnames that match the objectname supplierunless the -i parameter is used.  If objectnameis used, the response is instance namess of the associations that matches the classnameWhere the options specifically used by this operation are:.B \-rrole parameter for the CIM Operation.B \-rcresultClass parameter for the CIM Operation.B \-iInteractive request - If this parameter is supplied and the objectname is a classname, the   environment performs an enumerateinstances on the objectname and presents the list of possible   instances for user selection.TP.B im    invokeMethodThis operation executes an extrinsic operation to execute a method on a CIM class or instance.The form of the command is:.B	cimcli im [objectname] [methodname] *[parameters] [options]Note that there there are two required parameters to this command, the objectname and the [methodname].Parametere are input in the form:The completed operations displays the return code from the command and any parameters thatare qualified as OUT parameters..B Example:	cimcli PG_WBEMSLPTemplate register -n root/PG_InteropThe parameters are supplied as name=value pairs. In the current version, all parameters aretreated as strings.  .TP.B eq    executeQuery The executeQuery operation is not supported in the current version of cimcli..TP.B son

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -