翻译或纠错本页面

db.serverCmdLineOpts()

db.serverCmdLineOpts()

Wraps the getCmdLineOpts database command.

Returns a document that reports on the arguments and configuration options used to start the mongod or mongos instance.

See 配置文件选项, mongod, and mongos for additional information on available MongoDB runtime options.