Skip to content

Instantly share code, notes, and snippets.

@thomasbrueggemann
Last active October 21, 2015 08:56
Show Gist options
  • Save thomasbrueggemann/803af34a5064a7762e6a to your computer and use it in GitHub Desktop.
Save thomasbrueggemann/803af34a5064a7762e6a to your computer and use it in GitHub Desktop.
Lists all current operations that have progress information available
db.currentOp().inprog.forEach(
function(op) {
if(op.progress) printjson(op.msg);
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment