use db;
1. db.system.profile.find().count(); 查看慢日志
2. mongostat --host ip --port 端口 --authenticationDatabase admin -u 用户名 -p 密码 --rowcount 10 3
use db;
1. db.system.profile.find().count(); 查看慢日志
2. mongostat --host ip --port 端口 --authenticationDatabase admin -u 用户名 -p 密码 --rowcount 10 3