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.
MongoDB Enterprise: サブスクリプションベースの自己管理型 MongoDB バージョン
MongoDB Community: ソースが利用可能で、無料で使用できる自己管理型の MongoDB のバージョン