If you run mongostat with the --discover option, mongostat will not respect the --rowcount (or -n) option, and continue to output until ^C'd.
mongostat should either respect --rowcount when running with --discover, otherwise it should produce an incompatible argument error (which should also be documented.)
- depends on
-
SERVER-10407 mongostat --discover should wait one interval to allow discovered members to report stats
- Closed
- is duplicated by
-
SERVER-8163 mongostat rowcount option not working with discover option
- Closed