Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9014

top command should be disallowed on mongos

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • Server
    • None

    Description

      Running top command on mongos gives the following successful result without any useful information.

      { "totals" : { "note" : "all times in microseconds" }, "ok" : 1 }

      It would be better to disallow top command on mongos, since a user might expect a summary of statistics from all shards.

      So far, mongotop shows an error when running against mongos, top command should follow the same way.

      Attachments

        Activity

          People

            Unassigned Unassigned
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago