db.currentOp({ "active": true, "secs_running": { $gt: 5 } })
列出已运行超过 5 秒的活动操作。
在变慢或卡死期间识别问题查询时。
只读命令;无风险。