Last active
October 21, 2015 08:56
-
-
Save thomasbrueggemann/803af34a5064a7762e6a to your computer and use it in GitHub Desktop.
Lists all current operations that have progress information available
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.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