学习使用TSM帮助命令“HELP”
具体help命令用法
如果想要具体的QUERY DOMAIN命令的用法我们同样可以用help命令。通常help命令会给出分类号,命令用途,谁可以使用该命令,命令语法,参数解释,举例,命令任务,命令输出,输出解释,相关命令。
tsm: BABU>help q domain
3.41.17 QUERY DOMAIN (Query a policy domain) #分类号
Use this command to display information on one or more policy domains. #命令用途
Privilege class
Any administrator can issue this command. #谁可以使用该命令
Syntax
.-*-----------. .-Format--=--Standard-----.
>>-Query DOmain--+-------------+--+-------------------------+-->< #命令语法
'-domain_name-' '-Format--=--+-Standard-+-'
'-Detailed-'
Parameters #参数解释
domain_name
Specifies the policy domain to query. This parameter is optional. Youcan use wildcard characters to specify names. If you do not specify avalue for this parameter, all policy domains are displayed.
Format
Specifies how the information is displayed. This parameter isoptional. The default value is STANDARD. Possible values are:
Standard
Specifies that partial information is displayed.
Detailed
Specifies that complete information is displayed.
Examples
Task
Display partial information for all policy domains on the server.
Command query domain
Output
Examples #举例
Task
Display partial information for all policy domains on the server. #命令任务
Command query domain
Output #命令输出
+----------------------------------------------------------------------+
|Policy Activated Activated Number of Description |
|Domain Policy Default Registered |
|Name Set Mgmt Nodes |
| Class |
|--------- --------- --------- ---------- -----------------|
|EMPLOYEE- VACATION ACTIVEFI- 6 Employee Records |
| _RECORDS LES Domain |
|PROG1 0 Programming Group|
more... (<ENTER> to continue, 'C' to cancel)
| Test Domain |
|PROG2 0 Programming Group|
| Test Domain |
|STANDARD STANDARD STANDARD 1 Installed default|
| policy domain |
+----------------------------------------------------------------------+
Policy Domain Name #输出解释
The name of the policy domain.
Activated Policy Set
The name of the policy set that was last activated in the domain.
……
Related commands #相关命令
Table 213. Commands related to QUERY DOMAIN
+----------------------------------+----------------------------------+
| Command | Description |
+----------------------------------+----------------------------------+
| COPY DOMAIN | Creates a copy of a policy |
| | domain. |
+----------------------------------+----------------------------------+
| DEFINE DOMAIN | Defines a policy domain that |
| | clients can be assigned to. |
+----------------------------------+----------------------------------+
| DELETE DOMAIN | Deletes a policy domain along |
| | with any policy objects in the |
| | policy domain. |
+----------------------------------+----------------------------------+
| UPDATE DOMAIN | Changes the attributes of a |
| | policy domain.
做某些操作会返回一个message,尤其是出错的时候我们想进一步查看这个错误信息是什么,同样可以通过help命令来实现。Message以I结尾的提示信息(INFORMATION),以E结尾的是错误信息(ERROR)。
tsm: TSM>h ANS0106E
ANS0106E: Message index not found for message number.
Explanation #对信息的解释
The message repository file does not contain the message text for the message number.
System action #系统行为
TSM is unable to complete the requested operation.
User response #用户可以进行操作
确认DSM_DIR被正确配置,并指向正确的版本,如果问题仍然继续,请找系统管理员寻求更多帮助。