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.

You cannot comment on this entry