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 -m, --no-mixed-pathnames
69 Currently, pathnames of NFSv4 mountpoints are sent without lead‐
70 ing slash in the path. rpc.rquotad uses this to recognize NFSv4
71 mounts and properly prepend pseudoroot of NFS filesystem to the
72 path. If you specify this option, setquota will always send
73 paths with a trailing slash. This can be useful for legacy rea‐
74 sons but be aware that quota over RPC will stop working if you
75 are using new rpc.rquotad.
76
77 -q, --quiet
78 Print a more terse message, containing only information on
79 filesystems where usage is over quota.
80
81 -Q, --quiet-refuse
82 Do not print error message if connection to rpc.rquotad is
83 refused (usually this happens when rpc.rquotad is not running on
84 the server).
85
86 -w, --no-wrap
87 Do not wrap the line if the device name is too long. This can be
88 useful when parsing the output of quota(1) by a script.
89
90 Specifying both -g and -u displays both the user quotas and the group
91 quotas (for the user).
92
93 Only the super-user may use the -u flag and the optional user argument
94 to view the limits of other users. Non-super-users can use the the -g
95 flag and optional group argument to view only the limits of groups of
96 which they are members.
97
98 The -q flag takes precedence over the -v flag.
99
101 If quota exits with a non-zero status, one or more filesystems are over
102 quota.
103
105 aquota.user or aquota.group
106 quota file at the filesystem root (version 2 quota,
107 non-XFS filesystems)
108 quota.user or quota.group
109 quota file at the filesystem root (version 1 quota,
110 non-XFS filesystems)
111 /etc/mtab default filesystems
112
114 quotactl(2), fstab(5), edquota(8), quotacheck(8), quotaon(8),
115 quota_nld(8), repquota(8),
116
117
118
119 QUOTA(1)