使用mongostat监视mongodb
1, 监视一个mongod
mongostat 10.80.1.1:27018
1,监视replica set
mongostat --host rs0/10.80.1.1:27018,10.80.1.2:27018,10.80.1.3:27018 --username youruser --password yourpassword --authenticationDatabase admin
2,监视mongos
mongostat 10.80.1.1:27017
posted on 2017-07-19 08:45 gavanwanggw 阅读(127) 评论(0) 收藏 举报
浙公网安备 33010602011771号