Skip to content

Instantly share code, notes, and snippets.

@skippy
Created April 24, 2010 16:51
Show Gist options
  • Save skippy/377770 to your computer and use it in GitHub Desktop.
Save skippy/377770 to your computer and use it in GitHub Desktop.
db.currentOp()
{
"inprog" : [
{
"opid" : 242886,
"active" : true,
"lockType" : "write",
"waitingForLock" : false,
"secs_running" : 893,
"op" : "query",
"ns" : "myapp-development.$cmd",
"query" : {
"$eval" : function cf__1_anon() {
return Date();
},
"args" : [ ]
},
"client" : "127.0.0.1:58756",
"desc" : "conn"
},
{
"opid" : 242887,
"active" : false,
"lockType" : "write",
"waitingForLock" : true,
"op" : "insert",
"ns" : "?",
"client" : "0.0.0.0:0",
"desc" : "conn"
},
{
"opid" : 242897,
"active" : false,
"lockType" : "write",
"waitingForLock" : true,
"op" : "query",
"ns" : "?",
"query" : {
"$eval" : function cf__2_anon() {
return Date();
},
"args" : [ ]
},
"client" : "127.0.0.1:59419",
"desc" : "conn"
},
{
"opid" : 242890,
"active" : false,
"lockType" : "write",
"waitingForLock" : true,
"op" : "query",
"ns" : "?",
"query" : {
"$eval" : function cf__3_anon() {
return Date();
},
"args" : [ ]
},
"client" : "127.0.0.1:59301",
"desc" : "conn"
},
{
"opid" : 242893,
"active" : false,
"lockType" : "write",
"waitingForLock" : true,
"op" : "query",
"ns" : "?",
"query" : {
"$eval" : function cf__4_anon() {
return Date();
},
"args" : [ ]
},
"client" : "127.0.0.1:59329",
"desc" : "conn"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment