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

top command should be disallowed on mongos

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: 2.5.3
    • Component/s: Tools
    • Labels:
    • ALL

      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.

            Assignee:
            sverch Shaun Verch
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: