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