Viewing Usage Metrics for Storage
Displays the current usage details and the available capacity in TiB for Block Storage, Object Storage, and File Storage service.
- Block Storage: Specifies the usage of Block Storage volumes, for example, attaching a block volume to a VM instance. See Overview of Block Volume.
- Object Storage: Specifies the usage of any type of data, regardless of content type, for example, backups. See Overview of Object Storage
- File Storage: Specifies the usage of file systems. See Overview of File Storage.
Use the list command and required parameters to list the available source services (namespaces) emitting metrics:
oci occ namespace list [OPTIONS]
Use the read command and required parameters to view the usage metric:
oci occ metric-data read [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the
RequestSummarizedMetricData
operation to view the usage details of Block Storage, Object Storage, or File Storage service.