For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

mongotop Behavior, Access, and Usage

The mongotop program uses the top command to collect data. However, while top returns cumulative usage statistics, mongotop resets the usage statistics for each polling interval.

mongotop automatically creates FIPS-compliant connections to a mongod/mongos that is configured to use FIPS mode.

In order to connect to a mongod that enforces authorization, the connecting user must have the serverStatus and top privileges.

The built-in role clusterMonitor provides these privileges.