 |
Index for Section 1 |
|
 |
Alphabetical listing for Q |
|
 |
Bottom of page |
|
quota(1)
NAME
quota - displays disk usage and limits
SYNOPSIS
quota [-aghGuUqv]
quota [-ah] [-g] [groupname] [-qv]
quota [-ah] [-G] [groupID] [-qv]
quota [-ah] [-u] [username] [-qv]
quota [-ah] [-U] [userID] [-qv]
OPTIONS
-a Displays quota information for all mounted file systems: those in the
/etc/fstab file and those mounted manually or with automount. The -q
option takes precedence over the -a option.
-g [groupname]
When specified without the groupname argument, displays group quotas
for groups of which you are a member. Displays group quotas for the
group when you specify groupname.
-G [groupID]
When specified without the groupID argument, displays group quotas for
groups of which you are a member. Displays group quotas for the group
when you specify groupID.
-h Causes the numbers to be scaled and reported in a human readable form.
The suffixes used are K (kilobyte), M (megabyte), G (gigabyte), T
(terabyte), P (petabyte), and E (exabyte).
-u [username]
Displays only your user quotas (the default) when specified without the
username argument. Displays user quotas for the user when you specify
username.
-U [userID]
Displays only your user quotas (the default) when specified without the
userID argument. Displays user quotas for the user when you specify
userID.
-q Displays information only for file systems that have disk quotas and
where usage is over quota. Takes precedence over the -v and -a options.
-v Displays quota information for all mounted file systems that are
specified in the /etc/fstab file. Quota information is displayed for
each file system whether or not quotas are enabled for it. The -q
option takes precedence over the -v option.
DESCRIPTION
The quota command displays disk space usage and limits. Disk quotas are
displayed as 1 kilobyte blocks unless the -h option is specified, then they
are displayed as K (kilobyte), M (megabyte), G (gigabyte), T (terabyte), P
(petabyte), and E (exabyte) scaled values.
By default, only your user quotas are displayed. If you use the -g or the
-G option without an argument, the quota command displays group quotas for
groups of which you are a member.
Unless you use the -v option, the quota command reports only on file
systems listed in /etc/fstab that have disk quotas and under which you have
files. If quota exits with a status of 1, one or more file systems are over
quota. If quota exits with a status of 2, there are system errors.
NOTES
The term file system represents either a UFS file system or an AdvFS
fileset.
Do not use both a user and a group option in the same command.
RESTRICTIONS
You must be the root user to use the optional username or userID argument
to view information about another user, or to use the optional groupname or
groupID argument to view information about a group to which you do not
belong.
FILES
[filesystem]/quota.user
Contains user quotas for each file system.
[filesystem]/quota.group
Contains group quotas for each file system.
/etc/fstab
Contains file system names and locations.
SEE ALSO
edquota(8), quot(8), quotacheck(8), quotaon(8), quotaoff(8), repquota(8),
quotactl(2), fstab(4)
 |
Index for Section 1 |
|
 |
Alphabetical listing for Q |
|
 |
Top of page |
|