常用中间件操作
redis
./redis-cli -p 7001 -c -a Admin123456789
cluster nodes 查看集群状态是否正常
详细参考:
https://www.cnblogs.com/kongzhongqijing/p/6867960.html
查看磁盘挂载
/etc/init.d/after.local
zookeeper
查看状态
./zkServer.sh status
zkCli.sh -timeout 0 -r -server ip:port
h可以查看常用操作
etcd
./etcdctl --endpoints http://server1:port,ip2:port,ip3:port command
查看集群状态
cluster-health
fastdfs
touch 1
/usr/bin/fdfs_upload_file /etc/fdfs/client.conf 1
看是否能上传成功
wget https://xxx/上传成功返回的路径 --no-check-certificate
看是否能下载成功
memcache
查看集群状态
telent ip port(注意中间是空格)
连接之后输入stats查看状态。
http://www.runoob.com/memcached/memcached-clear-data.html