Way to get List of Mongo users that are currently logged on

GM,

Is there a way to get the list of Mongo users that are currently logged on to a Mongo database? I would like to see this type of information in order of importance:

  1. Users are currently logged
  2. Users actively running commands and the command they are running
  3. Which have been idle and the length of idle time
  4. The last time a particular user logged on

This is basic information that I am able to obtain from other DBMS like Oracle, SQL Server and MySQL.

Thanks for your help.

Johhn

2 Likes