-
-
Save Addvilz/438dd29c50222eca1b20186a79c15154 to your computer and use it in GitHub Desktop.
kill all queries in mongo
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(v){if (v.op == "query") { db.killOP(v.opid);}}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment