db.serverCmdLineOpts()
db.serverCmdLineOpts()-
Wraps the包装getCmdLineOptsdatabase command.getCmdLineOpts数据库命令。Returns a document that reports on the arguments and configuration options used to start the返回一个文档,该文档报告用于启动mongodormongosinstance.mongod或mongos实例的参数和配置选项。See Configuration File Options,有关可用MongoDB运行时选项的更多信息,请参阅配置文件选项、mongod, andmongosfor additional information on available MongoDB runtime options.mongod和mongos。