Docs Menu
Docs Home
/
MongoDB Manual
/ / /

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 Self-Managed Configuration File Options, mongod, and mongos for additional information on available MongoDB runtime options.

Back

db.serverBuildInfo