NAME
quota
—
display disk usage and
limits
SYNOPSIS
quota |
[-ghu ] [-v |
-q ] |
quota |
[-hu ] [-v |
-q ] user |
quota |
[-gh ] [-v |
-q ] group |
quota |
-d [-gh ]
[-v | -q ] |
DESCRIPTION
quota
displays users' disk usage and limits. By default
only the user quotas are printed.
Options:
-d
- Query the kernel for default user or group quota instead of a specific user or group.
-g
- Print group quotas for the group of which the user is a member. The
optional
-u
flag is equivalent to the default. -h
- Numbers are displayed in a human readable format.
-q
- Print a more terse message, containing only information on file systems where usage is over quota.
-v
quota
will 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.
Only the super-user may use the -d
flag.
The -q
flag takes precedence over the
-v
flag.
quota
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. If
quota
exits with a non-zero status, one or more file
systems are over quota.
SEE ALSO
libquota(3), fstab(5), edquota(8), quotacheck(8), quotaon(8), repquota(8), rpc.rquotad(8)
HISTORY
The quota
command appeared in
4.2BSD.