Today the structure for currentOp() is:
{
"opid" : 2058596,
"active" : true,
"lockType" : "write",
"waitingForLock" : true,
"secs_running" : 0,
"op" : "update",
"ns" : "javatest.testContainer",
"query" :
,
"client" : "172.26.190.16:58825",
"desc" : "conn"
},
Can we alter it such that it has seconds waiting enqueued for write? 'seconds waiting'? It would also be nice to have this in milliseconds for both waiting and running.
{
"opid" : 2058596,
"active" : true,
"lockType" : "write",
"waitingForLock" : true,
"msecs_waiting": 2000
"msecs_running" : 0,
"op" : "update",
"ns" : "javatest.testContainer",
"query" :
,
"client" : "xxx.yyy.190.16:58825",
"desc" : "conn"
},