Mongostat sort-by columns alternatives

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongostat

      We have a sharded, replicated cluster. Mongostat output includes many columns that are useful, but the sort order is only hostname:port.

      Since sometimes we change which box is running the primary vs. secondary, we sometimes end up with a jumble of lines orderd (pri, pri, sec, pri, sec, sec), etc.

      Ideally, we should be able to order these by user-specified criteria, but if it's easier, I'd like to suggest two additional sort-order options:

      • repl, set, hostname, port
      • set, repl, hostname, port

              Assignee:
              Unassigned
              Reporter:
              Kevin J. Rice
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: