is it possible to count the current read or write operations on a mongodb replica set? (including all databases not just a single database)

Thank you!

Best regards

1 Answer 1


The serverStatus command contains operation counts, which report on database operations by type since the mongod instance last started.

If you need to find the number of operations over a specific time period, retrieve the serverStatus result periodically for comparison over time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.