MySQL Cluster Manager 8.0.31 用户手册 / 第 5 章 MySQL Cluster Manager 客户端命令 / 5.2 MySQL Cluster Manager站点和代理命令 /
4.2.10 显示设置命令
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)