Docs Home → MongoDB Command Line Interface
mongocli atlas metrics databases
On this page
mongocli atlas
commands are now deprecated because there's a new, dedicated CLI available for Atlas users. Migrate to the Atlas CLI to enjoy the same capabilities and the latest features. You can use mongocli atlas
commands until April 30, 2023.List available databases or database metrics for a given host.
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for databases |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Name of the profile to use from your configuration file. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-configuration-file. |
Related Commands
mongocli atlas metrics databases describe - Return the measurements of a database on the specified host.
mongocli atlas metrics databases list - Return all databases running on the specified host for your project.