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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.3
    • Affects Version/s: None
    • Component/s: Tools
    • Fully Compatible
    • ALL

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

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

              Created:
              Updated:
              Resolved: