对于 AI 代理:可在 https://www.mongodb.com/zh-cn/docs/llms.txt 获取文档索引—通过在任何 URL 路径后添加 .md 可获取所有页面的 Markdown 版本。
Docs 菜单

db.serverCmdLineOpts()(mongosh方法)

db.serverCmdLineOpts()

封装getCmdLineOpts数据库命令。

返回一个文档,其中报告用于启动mongod或mongos实例的参数和配置选项。

有关可用MongoDB运行时选项的更多信息,请参阅自管理配置文件选项、 mongod和mongos 。

此方法可用于以下环境中托管的部署:

  • MongoDB Atlas: The fully managed service for MongoDB deployments in the cloud

注意

This command is supported in all MongoDB Atlas clusters. For information on Atlas support for all commands, see Unsupported Commands.

给本页内容打分

在此页面上