Retro Eye care Haitian Deep Dark Default
Logo
View Cluster Status

View Cluster Status #

  1. Run the command spex cluster status --name <cluster-name> to view the cluster running status. Example: view the running status of a cluster named demo.
[root@centos71 demo]# spex cluster status --name demo
Operation ShardingSphere-Proxy
proxy status      
10.0.1.1 : 3307 => success
PID:14014 PORT:3307 %CPU:16.9 %MEM:0.2 START:12:05 TIME:0:01
Results summary
+-------------+------+-------+------+------+-------+------+
|   HOST  | PORT | PID | %CPU | %MEM | START | TIME |
+-------------+------+-------+------+------+-------+------+
| 10.0.1.1 | 3307 | 14014 | 16.9 | 0.2 | 12:05 | 0:01 |
+-------------+------+-------+------+------+-------+------+
Completed......
Operation ZooKeeper
ZooKeeper status      
10.0.1.1 : 2181 => success
/usr/bin/java
Client port found: 2181. Client address: localhost. Client SSL: false.
Mode: standalone
ZooKeeper JMX enabled by default
Using config: /demo/zookeeper/apache-zookeeper-3.6.3-bin/bin/../conf/zoo.cfg
Results summary
+-------------+------+------------------+
|   HOST  | PORT |   STATUS   |
+-------------+------+------------------+
| 10.0.1.1 | 2181 | Mode: standalone |
+-------------+------+------------------+
Completed......