mongostat

Use the mongostat utility to quickly view statistics on a running mongod instance.

Starting in 1.3.3; this output is from 1.5.5
insert/s query/s update/s delete/s getmore/s command/s flushes/s mapped  vsize    res faults/s locked % idx miss %   q t|r|w  conn     time
       0       0        0        0         0         1         0      0     90      4        0        0          0     0|0|0     1 07:59:30
       0       0        0        0         0         1         0      0     90      4        0        0          0     0|0|0     1 07:59:31
       0       0        0        0         0         1         0      0     90      4        0        0          0     0|0|0     1 07:59:32
       0       0        0        0         0         1         0      0     90      4        0        0          0     0|0|0     1 07:59:33
       0       0        0        0         0         1         0      0     90      4        0        0          0     0|0|0     1 07:59:34
       0       0        0        0         0         1         0      0     90      4        0        0          0     0|0|0     1 07:59:35

Fields:
inserts/s : # of inserts per second
query/s - # of queries per second
update/s - # of updates per second
delete/s - # of deletes per second
getmore/s - # of get mores (cursor batch) per second
command/s - # of commands per second
flushes/s - # of fsync flushes per second
mapped - amount of data mmaped (total data size) megabytes
visze - virtual size of process in megabytes
res - resident size of process in megabytes
faults/s - # of pages faults/sec (linux only)
locked - percent of time in global write lock
idx miss - percent of btree page misses (sampled)
q t|r|w - lock queue lengths (total|read|write)
conn - number of open connections


Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

PLEASE POST QUESTIONS IN THE USER GROUPS FORUM. Post non-question comments and helpful hints here.

blog comments powered by Disqus