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 au‐
27 todetection). Possible format names are: vfsold Original quota
28 format with 16-bit UIDs / GIDs, vfsv0 Quota format with 32-bit
29 UIDs / GIDs, 64-bit space usage, 32-bit inode usage and limits,
30 vfsv1 Quota format with 64-bit quota limits and usage, rpc
31 (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 ex‐
51 plicitely 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 --filesystem=path
80 report quotas only for filesystem path. This option can be
81 specified multiple types and quota will be reported for each
82 specified filesystem. Unlike command line option -f remaining
83 command like arguments are still treated as user / group /
84 project names to report.
85
86 -m, --no-mixed-pathnames
87 Currently, pathnames of NFSv4 mountpoints are sent without lead‐
88 ing slash in the path. rpc.rquotad uses this to recognize NFSv4
89 mounts and properly prepend pseudoroot of NFS filesystem to the
90 path. If you specify this option, quota will always send paths
91 with a leading slash. This can be useful for legacy reasons but
92 be aware that quota over RPC will stop working if you are using
93 new rpc.rquotad.
94
95 -q, --quiet
96 Print a more terse message, containing only information on
97 filesystems where usage is over quota.
98
99 -Q, --quiet-refuse
100 Do not print error message if connection to rpc.rquotad is re‐
101 fused (usually this happens when rpc.rquotad is not running on
102 the server).
103
104 -w, --no-wrap
105 Do not wrap the line if the device name is too long. This can be
106 useful when parsing the output of quota(1) by a script.
107
108 --show-mntpoint
109 Show also mount point as a filesystem identification.
110
111 --hide-device
112 Do not show device name in a filesystem identification.
113
114 Specifying both -g and -u displays both the user quotas and the group
115 quotas (for the user).
116
117 Only the super-user may use the -u flag and the optional user argument
118 to view the limits of other users. Also viewing of project quota usage
119 and limits is limited to super-user only. Non-super-users can use the
120 -g flag and optional group argument to view only the limits of groups
121 of which they are members.
122
123 The -q flag takes precedence over the -v flag.
124
126 If quota exits with a non-zero status, one or more filesystems are over
127 quota.
128
130 aquota.user or aquota.group
131 quota file at the filesystem root (version 2 quota,
132 non-XFS filesystems)
133 quota.user or quota.group
134 quota file at the filesystem root (version 1 quota,
135 non-XFS filesystems)
136 /etc/mtab default filesystems
137
139 quotactl(2), fstab(5), edquota(8), quotacheck(8), quotaon(8),
140 quota_nld(8), repquota(8), warnquota(8), setquota(8)
141
142
143
144 QUOTA(1)