如何监控mongoDB?

使用mongostat查看公司的数据库状态
mongostat --host IPADDRESS:27020 --username root --password PASSWORD --authenticationDatabase admin

使用mongotop查看公司的数据库状态
mongotop --host IPADDRESS:27018 --username root --password PASSWORD --authenticationDatabase admin

猜你喜欢

转载自blog.51cto.com/12131824/2392245