mongostat
mongotop
db.currentOp
db.serverStatus()
db.stats()
db.collection.stats()
# 复制集监控
rs.status()
# shard群集监控
sh.status()
# 状态锁
use config
db.locks.find()
mongostat
mongotop
db.currentOp
db.serverStatus()
db.stats()
db.collection.stats()
# 复制集监控
rs.status()
# shard群集监控
sh.status()
# 状态锁
use config
db.locks.find()