5.2.10show settings命令

show settings [--hostinfo]

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

mcm> show settings;
+---------+----------------+-----------------------------------------------------+
| Section | Setting        | Value                                               |
+---------+----------------+-----------------------------------------------------+
| DEFAULT | data_folder    | /home/dso/extra3/mcm-8.0.31-cluster-8.0.31/mcm_data |
| DEFAULT | logging_folder | /home/dso/extra3/mcm-8.0.31-cluster-8.0.31          |
| logger  | filename       | mcmd.log                                            |
| logger  | level          | info                                                |
| mcmd    | bind_port      | 1862                                                |
| mcmd    | copy_port      | 0                                                   |
| mcmd    | mcmd_password  | ********                                            |
| mcmd    | mcmd_user      | mcmd                                                |
| mcmd    | xcom_port      | 18062                                               |
+---------+----------------+-----------------------------------------------------+
9 rows in set (0.10 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)