1QUOTA(1)                    General Commands Manual                   QUOTA(1)
2
3
4

NAME

6       quota - display disk usage and limits
7

SYNOPSIS

9       quota [ -F format-name ] [ -guqvswi ] [ -l | [ -QAm ]]
10       quota [ -F format-name ] [ -qvswi ] [ -l | [ -QAm ]] -u user...
11       quota [ -F format-name ] [ -qvswi ] [ -l | [ -QAm ]] -g group...
12       quota [ -F format-name ] [ -qvswi ] [ -l | [ -QAm ]] -P project...
13       quota [ -F format-name ] [ -qvswugQm ] -f filesystem...
14

DESCRIPTION

16       quota  displays users' disk usage and limits.  By default only the user
17       quotas are printed. By default space usage  and  limits  are  shown  in
18       kbytes (and are named blocks for historical reasons).
19
20       quota  reports  the  quotas of all the filesystems listed in /etc/mtab.
21       For filesystems that are NFS-mounted a call to the rpc.rquotad  on  the
22       server machine is performed to get the information.
23

OPTIONS

25       -F, --format=format-name
26              Show  quota  for  specified  format  (ie.  don't  perform format
27              autodetection).  Possible  format  names  are:  vfsold  Original
28              quota  format  with  16-bit UIDs / GIDs, vfsv0 Quota format with
29              32-bit UIDs / GIDs, 64-bit space usage, 32-bit inode  usage  and
30              limits,  vfsv1  Quota format with 64-bit quota limits and usage,
31              rpc (quota over NFS), xfs (quota on XFS filesystem)
32
33       -g, --group
34              Print group quotas for the group of which the user is a  member.
35              The  optional  group  argument(s)  restricts  the display to the
36              specified group(s).
37
38       -u, --user
39              flag is equivalent to the default.
40
41       -P, --project
42              Print project quotas for the specified project.
43
44       -v, --verbose
45              will display quotas on filesystems where  no  storage  is  allo‐
46              cated.
47
48       -s, --human-readable[=units]
49              option  will  make quota(1) try to choose units for showing lim‐
50              its, used space and used inodes. Units  can  be  also  specified
51              explicitely  by  an  optional argument in format [ kgt ],[ kgt ]
52              where the first character specifies space units and  the  second
53              character specifies inode units.
54
55       --always-resolve
56              Always  try  to translate user / group name to uid / gid even if
57              the name is composed of digits only.
58
59       -p, --raw-grace
60              When user is in grace period, report time in seconds since epoch
61              when his grace time runs out (or has run out). Field is '0' when
62              no grace time is in effect.   This  is  especially  useful  when
63              parsing output by a script.
64
65       -i, --no-autofs
66              ignore mountpoints mounted by automounter
67
68       -l, --local-only
69              report  quotas only on local filesystems (ie. ignore NFS mounted
70              filesystems).
71
72       -A, --all-nfs
73              report quotas for all NFS filesystems even if they report to  be
74              on the same device.
75
76       -f, --filesystem-list
77              report quotas only for filesystems specified on command line.
78
79       -m, --no-mixed-pathnames
80              Currently, pathnames of NFSv4 mountpoints are sent without lead‐
81              ing slash in the path.  rpc.rquotad uses this to recognize NFSv4
82              mounts  and properly prepend pseudoroot of NFS filesystem to the
83              path. If you specify this option, quota will always  send  paths
84              with  a leading slash. This can be useful for legacy reasons but
85              be aware that quota over RPC will stop working if you are  using
86              new rpc.rquotad.
87
88       -q, --quiet
89              Print  a  more  terse  message,  containing  only information on
90              filesystems where usage is over quota.
91
92       -Q, --quiet-refuse
93              Do not print error  message  if  connection  to  rpc.rquotad  is
94              refused (usually this happens when rpc.rquotad is not running on
95              the server).
96
97       -w, --no-wrap
98              Do not wrap the line if the device name is too long. This can be
99              useful when parsing the output of quota(1) by a script.
100
101       --show-mntpoint
102              Show also mount point as a filesystem identification.
103
104       --hide-device
105              Do not show device name in a filesystem identification.
106
107       Specifying  both  -g and -u displays both the user quotas and the group
108       quotas (for the user).
109
110       Only the super-user may use the -u flag and the optional user  argument
111       to  view the limits of other users. Also viewing of project quota usage
112       and limits is limited to super-user only.  Non-super-users can use  the
113       -g  flag  and optional group argument to view only the limits of groups
114       of which they are members.
115
116       The -q flag takes precedence over the -v flag.
117

DIAGNOSTICS

119       If quota exits with a non-zero status, one or more filesystems are over
120       quota.
121

FILES

123       aquota.user  or  aquota.group
124                           quota file at the filesystem root (version 2 quota,
125                           non-XFS filesystems)
126       quota.user  or  quota.group
127                           quota file at the filesystem root (version 1 quota,
128                           non-XFS filesystems)
129       /etc/mtab           default filesystems
130

SEE ALSO

132       quotactl(2),    fstab(5),    edquota(8),   quotacheck(8),   quotaon(8),
133       quota_nld(8), repquota(8), warnquota(8), setquota(8)
134
135
136
137                                                                      QUOTA(1)
Impressum