Created
January 3, 2011 17:30
-
-
Save scotthernandez/763715 to your computer and use it in GitHub Desktop.
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.runCommand({$eval:function(){return db.currentOp();}, nolock:true}) | |
{ | |
"retval" : { | |
"inprog" : [ | |
{ | |
"opid" : 343703, | |
"active" : true, | |
"waitingForLock" : false, | |
"secs_running" : 0, | |
"op" : "query", | |
"ns" : "?est.decks", | |
"query" : { | |
"$eval" : function cf__1__f_() { | |
return db.currentOp(); | |
}, | |
"nolock" : true | |
}, | |
"client" : "127.0.0.1:53921", | |
"desc" : "conn" | |
} | |
] | |
}, | |
"ok" : 1 | |
} | |
> db.runCommand({$eval:function(){return db.currentOp();}, nolock:false}) | |
{ | |
"retval" : { | |
"inprog" : [ | |
{ | |
"opid" : 343705, | |
"active" : true, | |
"lockType" : "write", | |
"waitingForLock" : false, | |
"secs_running" : 0, | |
"op" : "query", | |
"ns" : "test", | |
"query" : { | |
"$eval" : function cf__2__f_() { | |
return db.currentOp(); | |
}, | |
"nolock" : false | |
}, | |
"client" : "127.0.0.1:53921", | |
"desc" : "conn" | |
} | |
] | |
}, | |
"ok" : 1 | |
} | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment