// Module included in the following assemblies:
//
// ../scalability_and_performance/compute-resource-quotas.adoc

:_mod-docs-content-type: PROCEDURE
[id="viewing-a-quota_{context}"]
= Viewing a quota

[role="_abstract"]
To monitor usage statistics against defined hard limits, navigate to the *Quota* page in the web console. Alternatively, you can use the CLI to view detailed quota information for the project.

.Procedure

. Get the list of quotas defined in the project by entering the following command:
+
.Example command with a project called demoproject
[source,terminal]
----
$ oc get quota -n demoproject
----
+
.Example output
[source,terminal]
----
NAME                AGE
besteffort          11m
compute-resources   2m
core-object-counts  29m
----

. Describe the target quota by entering the following command:
+
.Example command for the core-object-counts quota
[source,terminal]
----
$ oc describe quota core-object-counts -n demoproject
----
+
.Example output
[source,terminal]
----
Name:			core-object-counts
Namespace:		demoproject
Resource		Used	Hard
--------		----	----
configmaps		3	10
persistentvolumeclaims	0	4
replicationcontrollers	3	20
secrets			9	10
services		2	10
----
