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