quota - display disk usage and limits
quota [ n ] [ guv | q ]
quota [ n ] [ uv | q ] user
quota [ n ] [ gv | q ] group
Quota displays users' disk usage and limits. By default only the user quotas are printed.
Quota reports the quotas of all the filesystems listed in /etc/fstab. For filesystems that are NFSmounted a call to the rpc.rquotad on the server machine is performed to get the information.
|
-n |
Print info on numeric arguments e.g. uids and gids instead of users and groups |
|
|
-g |
Print group quotas for the group of which the user is a member. The optional |
|
|
-u -v q |
flag is equivalent to the default. will display quotas on filesystems where no storage is allocated. Print a more terse message, containing only information on filesystems where usage is over quota. |
Specifying both -g and -u displays both the user quotas and the group quotas (for the user).
Only the superuser may use the -u flag and the optional user argument to view the limits of other users. Nonsuperusers can use the 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.
If quota exits with a nonzero status, one or more filesystems are over quota.
|
quota.user |
user quota file at file system root |
quotactl(2), fstab(5), edquota(8), quotacheck(8), quotaon(8), repquota(8)