- Reference >
mongoShell Methods >- Database Methods >
- db.serverCmdLineOpts()
db.serverCmdLineOpts()¶
-
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, and mongos for additional information on available MongoDB runtime options.