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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.3
    • None
    • 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

        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: