Skip to content

Instantly share code, notes, and snippets.

@scotthernandez
Created December 21, 2010 06:04
Show Gist options
  • Save scotthernandez/749564 to your computer and use it in GitHub Desktop.
Save scotthernandez/749564 to your computer and use it in GitHub Desktop.
> db.killOp
function (op) {
if (!op) {
throw "no opNum to kill specified";
}
return db.$cmd.sys.killop.findOne({op:op});
}
> db["$cmd.sys.killop"].findOne({op:12121})
{ "info" : "attempting to kill op" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment