From MongoDB Docs
To report the use of locks for each database, use -locks
Changed in version 3.0.0: when called against a mongoose that is not using report locks, --locks will return a failure: the server does not support information blocking error messages
I get this error
mongotop -vvv --host localhost --authenticationDatabase admin -u $USER -p $PASSWD --port 27100 --locks
2016-08-29T14:29:41.477+0200 Failed: server does not support reporting lock information
How to enable lock usage in MongoDB 3.2.8? Do I need a special launch option?
source
share