Skip to content

Instantly share code, notes, and snippets.

@tobytripp
Created May 28, 2010 18:58
Show Gist options
  • Select an option

  • Save tobytripp/417571 to your computer and use it in GitHub Desktop.

Select an option

Save tobytripp/417571 to your computer and use it in GitHub Desktop.
db.serverStatus(); // On a mongod that is unresponsive to queries
{
"uptime" : 13956,
"localTime" : "Fri May 28 2010 09:42:57 GMT-0400 (EDT)",
"globalLock" : {
"totalTime" : 13955605883,
"lockTime" : 1910430,
"ratio" : 0.00013689337575283544
},
"mem" : {
"resident" : 127164,
"virtual" : 430727,
"supported" : true,
"mapped" : 429903
},
"connections" : {
"current" : 28,
"available" : 19972
},
"extra_info" : {
"note" : "fields vary by platform",
"heap_usage_bytes" : 842976,
"page_faults" : 6731178
},
"indexCounters" : {
"btree" : {
"accesses" : 136118,
"hits" : 135178,
"misses" : 930,
"resets" : 0,
"missRatio" : 0.006832307262816086
}
},
"backgroundFlushing" : {
"flushes" : 234,
"total_ms" : 248,
"average_ms" : 1.0598290598290598,
"last_ms" : 0,
"last_finished" : "Fri May 28 2010 09:42:33 GMT-0400 (EDT)"
},
"repl" : {
"ismaster" : 0,
"msg" : "not paired"
},
"opcounters" : {
"insert" : 0,
"query" : 206293,
"update" : 0,
"delete" : 0,
"getmore" : 0,
"command" : 771470
},
"asserts" : {
"regular" : 0,
"warning" : 0,
"msg" : 0,
"user" : 0,
"rollovers" : 0
},
"ok" : 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment