I keep on seeing this in my log/development.log, and I am wondering whether this query is actually being executed in my database:
MONGODB (0ms) socialcrunch_deve
http://www.mongovue.com/ provides good ui interface to check runtime status of server
Print all active reads:
db.currentOp().inprog.forEach(
function(d){
if(d.waitingForLock && d.lockType != "read")
printjson(d)
})
Print all active writes:
db.currentOp().inprog.forEach(
function(d){
if(d.waitingForLock && d.lockType != "write")
printjson(d)
})
You can get a lot more granular if you like by using currentOp.op
to filter by a specific operation type (insert, update, delete, etc).
Check out the following page from MongoDB.org's documentation for more info: http://docs.mongodb.org/manual/reference/current-op/