From MongoDB docs
To report the use of per-database locks, use --locks
Changed in version 3.0.0: When called against a mongod that does not report lock usage, --locks will return a Failed: Server does not support reporting locking information error
I receive 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
Howto enable lock usage in MongoDB 3.2.8? Do I need a special startup parameter?