Mongodb - How do I view the current process/operation?

To view the current operation simply connect to mongo and issue the following command:

db.currentOp();

This will return a BSON object detailing the current operation.

Rate this FAQ

0 (0 Votes)