Manual browser: quota(1)
|QUOTA(1)||General Commands Manual||QUOTA(1)|
NAMEquota — display disk usage and limits
|quota||[-ghu] [-v | -q]|
|quota||[-hu] [-v | -q] user|
|quota||[-gh] [-v | -q] group|
|quota||-d [-gh] [-v | -q]|
DESCRIPTIONquota displays users' disk usage and limits. By default only the user quotas are printed.
- Query the kernel for default user or group quota instead of a specific user or group.
- Print group quotas for the group of which the user is a member. The optional -u flag is equivalent to the default.
- Numbers are displayed in a human readable format.
- Print a more terse message, containing only information on file systems where usage is over quota.
- 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 ALSOlibquota(3), fstab(5), edquota(8), quotacheck(8), quotaon(8), repquota(8), rpc.rquotad(8)
HISTORYThe quota command appeared in 4.2BSD.
|May 12, 2012||NetBSD 7.0|