Listing Quotas for a File System
List quotas for individual users and groups to see limits, usage, and violators.
If quotas are disabled, the usage reported when listing quota rules is zero (0). In this case, a value of 0 doesn't mean that the user, group, or file system has no usage, it means that the usage is undefined. Reported quota usage is only correct when enforcement is enabled. For more information, see Enabling or Disabling Quotas for a File System.
Use the
oci fs file-system list-quota-rules
command and required parameters to list quotas:oci fs file-system list-quota-rules --file-system-id <file_system_OCID> --principal-type <principal_type> [OPTIONS]
Tip
Use the optional
--are-violators-only
parameter to display only the users or groups that violate the quota rules of the file system.Use the optional
--principal-id
parameter to display only the quotas associated with a specific user or group.For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ListQuotaRules operation to list quotas.
Tip
Use the optional
areViolatorsOnly
parameter to display only the users or groups that violate the quota rules of the file system.Use the optional
principalId
parameter to display only the quotas associated with a specific user or group.For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.