Priority: Major - P3
Resolution: Works as Designed
Affects Version/s: None
Fix Version/s: None
Mongostat currently runs once per second by default, this can be changed by specifying a sleep interval.
With large numbers of shards and replicas, this can be a lot of data to transmit once per second. it would be nice to be able to alter this to a 5-second interval.
BUT: this is NOT a sleep concept:
- Counts for insert/query/update/delete/getmore/command/flushes and network in/out should be accumulated (SUMMED);
- Counts for the rest: mapped/vsize/res/locked/miss%/qr/qw/ar/aw should be AVERAGED.
Or, all could be both averaged and summed , with additional columns for avg/sum of each. Knowing the number of inserts/second would be nice, but averaged over 5 seconds vs. total number in the last 5 seconds - these are useful datapoints.