Navigation
This version will reach end of life on Feb 2018. To upgrade, go to the Learn more about upgrading your version of MongoDB.

db.getProfilingStatus()

db.getProfilingStatus()
Returns:The current profile level and slowOpThresholdMs setting.