mongocli atlas performanceAdvisor namespaces list
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoCLI.
Retrieve up to 20 namespaces for collections experiencing slow queries for a specified host.
Namespaces appear in the following format: {database}.{collection}.
Syntax
mongocli atlas performanceAdvisor namespaces list [options]
Options
Name | Type | Required | Description |
---|---|---|---|
--duration | int | false | Length of time from the since parameter, in milliseconds, for which you want to receive results. |
-h, --help | false | help for list | |
--hostId | string | false | The unique identifier for the host of a MongoDB process. |
-o, --output | string | false | Output format.
Valid values: json|json-path|go-template|go-template-file |
--processName | string | false | The unique identifier for the host of a MongoDB process in the following format: {hostname}:{port}. |
--projectId | string | false | Project ID to use. Overrides configuration file or environment variable settings. |
--since | int | false | Point in time, specified as milliseconds since the Unix Epoch, from which you want to receive results. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |