db.serverCmdLineOpts()
db.
serverCmdLineOpts
()- Wraps the
getCmdLineOpts
database command.
Returns a document that reports on the arguments and configurationoptions used to start the mongod
or mongos
instance.
See Configuration File Options,mongod, andmongos for additional information onavailable MongoDB runtime options.