Last active
May 10, 2018 01:42
-
-
Save sarjarapu/04439ecad93fb2019b2fe9ec08fda43a to your computer and use it in GitHub Desktop.
The MongoDB currentOp command via db.adminCommand
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.adminCommand({"currentOp": 1}) | |
// or | |
db.adminCommand({"currentOp": 1, "$ownOps" : true}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment