4.2.10show settings命令

show settings [--hostinfo]

此命令列出了许多 mcmd选项的当前值:

mcm> show settings;
+-------------------+------------------------+
| Setting           | Value                  |
+-------------------+------------------------+
| log-file          | /opt/mcm_data/mcmd.log |
| log-level         | message                |
| log-use-syslog    | FALSE                  |
| manager-directory | /opt/mcm_data          |
| manager-username  | mcmd                   |
| manager-password  | ********               |
| manager-port      | 1862                   |
| xcom-port         | 18620                  |
+-------------------+------------------------+
8 rows in set (0.00 sec)

使用该 --hostinfo选项使命令打印出有关 mcm客户端连接到的主机的信息:

mcm> show settings --hostinfo;
+-----------------+-------------------------------+
| Property        | Value                         |
+-----------------+-------------------------------+
| Hostname        | localhost.localdomain         |
| Platform        | Linux 3.13.11-100.fc19.x86_64 |
| Processor cores | 1                             |
| Total memory    | 1819 Mb                       |
+-----------------+-------------------------------+
4 rows in set (0.00 sec)