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

Mongostat sort-by columns alternatives

    XMLWordPrintable

    Details

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

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: