This version of the documentation is archived and no longer
supported. View the current documentation to learn how to
upgrade your version of MongoDB.
db.serverCmdLineOpts()Wraps the
getCmdLineOptsdatabase command.Returns a document that reports on the arguments and configuration options used to start the
mongodormongosinstance.See Configuration File Options,
mongod, andmongosfor additional information on available MongoDB runtime options.