欢迎投稿

今日深度:

使用mongostat监视mongodb,mongostatmongodb

使用mongostat监视mongodb,mongostatmongodb


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


www.htsjk.Com true http://www.htsjk.com/shujukunews/8557.html NewsArticle 使用mongostat监视mongodb,mongostatmongodb 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 --authentic...
评论暂时关闭