Skip to content

Instantly share code, notes, and snippets.

@sarjarapu
Last active May 10, 2018 01:42
Show Gist options
  • Save sarjarapu/467039ac63a75c430af9c4b24d824876 to your computer and use it in GitHub Desktop.
Save sarjarapu/467039ac63a75c430af9c4b24d824876 to your computer and use it in GitHub Desktop.
The MongoDB currentOp command via a db.currentOp() wrapper function.
db.currentOp()
// or
db.currentOp({"$ownOps" : true})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment