1、查看ES集群
curl -u USER:PASS http://IP:9200/_cat/nodes?v
curl -u USER:PASShttp://IP:9200/_cluster/health?pretty
2、在ES中查看logstash个数
ss -nt| grep `ifconfig | grep "inet add"| grep Bcast| awk '{print $2}'| awk -F ":" '{print $2}'`:9200| awk '{print $NF}'| awk -F: '{print $4}'| sort| uniq -c
3、查看Kafka 集群节点数
./zkCli.sh -server 10.13.2.66:2181
ls /brokers/ids
4、查看zookeeper集群的节点数
cat zoo.cfg
server.1=localhost:2881:3881
server.2=localhost:2882:3882
server.3=localhost:2883:3883