db.serverCmdLineOpts()

db.serverCmdLineOpts()

Wraps the getCmdLineOptsdatabase command.包装数据库命令getCmdLineOpts

Returns a document that reports on the arguments and configuration options used to start the mongod or mongos instance.返回一个文档,报告用于启动mongodmongos实例的参数和配置选项。

See Configuration File Options, mongod, and mongos for additional information on available MongoDB runtime options.有关可用MongoDB运行时选项的更多信息,请参阅配置文件选项mongodmongos

←  db.serverBuildInfo()db.serverStatus() →