Reputation: 2729
I'd like to find the total number of current operations in MongoDB. Something like:
db.currentOp().count()
Upvotes: 3
Views: 2556
Reputation: 19000
db.currentOp().inprog.length
The inprog
is an array of current operations
Upvotes: 12