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