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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.5.3
    • Tools
    • Fully Compatible
    • 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

              mathias@mongodb.com Mathias Stearn
              sam.kleinman Sam Kleinman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: