1QUOTA(1) General Commands Manual QUOTA(1)
2
3
4
6 quota - display disk usage and limits
7
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
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
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
49 option will make quota(1) try to choose units for showing lim‐
50 its, used space and used inodes.
51
52 --always-resolve
53 Always try to translate user / group name to uid / gid even if
54 the name is composed of digits only.
55
56 -p, --raw-grace
57 When user is in grace period, report time in seconds since epoch
58 when his grace time runs out (or has run out). Field is '0' when
59 no grace time is in effect. This is especially useful when
60 parsing output by a script.
61
62 -i, --no-autofs
63 ignore mountpoints mounted by automounter
64
65 -l, --local-only
66 report quotas only on local filesystems (ie. ignore NFS mounted
67 filesystems).
68
69 -A, --all-nfs
70 report quotas for all NFS filesystems even if they report to be
71 on the same device.
72
73 -f, --filesystem-list
74 report quotas only for filesystems specified on command line.
75
76 -m, --no-mixed-pathnames
77 Currently, pathnames of NFSv4 mountpoints are sent without lead‐
78 ing slash in the path. rpc.rquotad uses this to recognize NFSv4
79 mounts and properly prepend pseudoroot of NFS filesystem to the
80 path. If you specify this option, quota will always send paths
81 with a leading slash. This can be useful for legacy reasons but
82 be aware that quota over RPC will stop working if you are using
83 new rpc.rquotad.
84
85 -q, --quiet
86 Print a more terse message, containing only information on
87 filesystems where usage is over quota.
88
89 -Q, --quiet-refuse
90 Do not print error message if connection to rpc.rquotad is
91 refused (usually this happens when rpc.rquotad is not running on
92 the server).
93
94 -w, --no-wrap
95 Do not wrap the line if the device name is too long. This can be
96 useful when parsing the output of quota(1) by a script.
97
98 --show-mntpoint
99 Show also mount point as a filesystem identification.
100
101 --hide-device
102 Do not show device name in a filesystem identification.
103
104 Specifying both -g and -u displays both the user quotas and the group
105 quotas (for the user).
106
107 Only the super-user may use the -u flag and the optional user argument
108 to view the limits of other users. Also viewing of project quota usage
109 and limits is limited to super-user only. Non-super-users can use the
110 -g flag and optional group argument to view only the limits of groups
111 of which they are members.
112
113 The -q flag takes precedence over the -v flag.
114
116 If quota exits with a non-zero status, one or more filesystems are over
117 quota.
118
120 aquota.user or aquota.group
121 quota file at the filesystem root (version 2 quota,
122 non-XFS filesystems)
123 quota.user or quota.group
124 quota file at the filesystem root (version 1 quota,
125 non-XFS filesystems)
126 /etc/mtab default filesystems
127
129 quotactl(2), fstab(5), edquota(8), quotacheck(8), quotaon(8),
130 quota_nld(8), repquota(8), warnquota(8), setquota(8)
131
132
133
134 QUOTA(1)