QUOTA (1) | General commands | Unix Manual Pages | :man▋
quota - display disk usage and limits
quota [-glu] [-v-| -q ] quota [-lu] [-v-| -q ] user ... quota -g [-l] [-v-| -q ] group ...
The quota utility displays users disk usage and limits. By default only the user quotas are printed.
The following options are available:
|-g || Print group quotas for the group of which the user is a member. |
|-l || Do not report quotas on NFS file systems. |
|-q || Print a more terse message, containing only information on file systems where usage is over quota. |
|-u || Print the user quotas. This is the default unless -g is specified. |
|-v || Display quotas on file systems where no storage is allocated. |
Specifying both -g and -u displays both the user quotas and the group quotas (for the user).
Only the super-user may use the -u flag and the optional user argument to view the limits of other users. Non-super-users can use the -g flag and optional group argument to view only the limits of groups of which they are members.
The -q flag takes precedence over the -v flag.
The quota utility tries to report the quotas of all mounted file systems. If the file system is mounted via NFS, it will attempt to contact the rpc.rquotad(8) daemon on the NFS server. For UFS file systems, quotas must be turned on in /etc/fstab. If quota exits with a non-zero status, one or more file systems are over quota.
If the -l flag is specified, quota will not check NFS file systems.
| quota.user || located at the file system root with user quotas |
| quota.group |
| || located at the file system root with group quotas |
| /etc/fstab || to find file system names and locations |
quotactl(2), fstab(5), edquota(8), quotacheck(8), quotaon(8), repquota(8), rpc.rquotad(8)
Share this page