On this page本页内容
top
¶top
is an administrative command that returns usage statistics for each collection. top
provides amount of time, in microseconds, used and a count of operations for the following event types:
Important
The top
command must be run against a mongod instance. Running top
against a mongos instance will return an error.
Issue the top
command against the admin database in the form: