-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Environment:
*Location*: https://docs.mongodb.com/manual/reference/command/top/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36
*Referrer*: https://www.google.ie/
*Screen Resolution*: 2560 x 1440
Should document that top() will not work when the mongo shell is connected to a mongos. You get:
{{ MongoDB Enterprise mongos> db.adminCommand( "top" )
{ "ok" : 0, "errmsg" : "no such cmd: top", "code" : 59 }MongoDB Enterprise mongos> }}