Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10319

[mongostat] --discover option does not respect --rowcount (-n) output limitation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.3
    • Component/s: Tools
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      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.)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: