诊断: 查看正在进行的事务 db.showLiveTransactions()

查看锁定 db.showPendingLockRequests()

查询连接数量 db.runCommand( { serverStatus: 1 } ).connections

查询游标数量 db.serverStatus().cursors

查看物理连接 netstat -anp --tcp --udp | grep 192.168.0.xx.*mongod

查看IO情况 iotop