Skip to content

Instantly share code, notes, and snippets.

@sarjarapu
Last active May 10, 2018 01:42
Show Gist options
  • Save sarjarapu/04439ecad93fb2019b2fe9ec08fda43a to your computer and use it in GitHub Desktop.
Save sarjarapu/04439ecad93fb2019b2fe9ec08fda43a to your computer and use it in GitHub Desktop.
The MongoDB currentOp command via db.adminCommand
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