Behavior
Polling
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.
FIPS
mongotop automatically creates FIPS-compliant connections to a mongod/mongos that is configured to use FIPS mode.
Required Access
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.