Details
-
Task
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
-
None
-
0.5
Description
This concerns /manual/reference/program/mongostat/.
When mongostat is monitoring a secondary the opcounts (inserts/deletes/etc) per-sec values are displayed with an asterisk prepended to them, to indicate those are replication opcounts, rather than primary ones.
An example of the output can be seen quickly at TOOLS-1437 (It is a trivial bug reporting incorrect asterisks on 0's; ignore those.)
The asterisk meaning is explained in the current reference but confusingly put that under the sub-section for the insert counts (see red sentence) only. Please move it up to the higher scope (presumably at the blue spot) so pl
Fields
mongostat returns values that reflect the operations over a 1 second period. When mongostat <sleeptime> has a value greater than 1, mongostat averages the statistics to reflect average operations per second.
mongostat outputs the following fields: <move here?>
inserts
The number of objects inserted into the database per second. If followed by an asterisk (e.g. *), the datum refers to a replicated operation.
query
The number of query operations per second.
update
The number of update operations per second.
delete
The number of delete operations per second.
Also, rather than saying the asterisk follows the figure, it should say it is prepended / attached.