Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-49

Mongostat sort-by columns alternatives

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 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 Unassigned
            Reporter:
            justanyone Kevin J. Rice
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: