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.serverCmdLineOpts()

db.serverCmdLineOpts()

Wraps the getCmdLineOpts database command.

Returns a document that reports on the arguments and configuration options used to start the mongod or mongos instance.

See Configuration File Options, mongod, and mongos for additional information on available MongoDB runtime options.