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 (version 1
26 quota), vfsv0 (version 2 quota), rpc (quota over NFS), xfs
27 (quota on XFS filesystem)
28
29 -g, --group
30 Print group quotas for the group of which the user is a member.
31 The optional group argument(s) restricts the display to the
32 specified group(s).
33
34 -u, --user
35 flag is equivalent to the default.
36
37 -v, --verbose
38 will display quotas on filesystems where no storage is allo‐
39 cated.
40
41 -s, --human-readable
42 option will make quota(1) try to choose units for showing lim‐
43 its, used space and used inodes.
44
45 -p, --raw-grace
46 When user is in grace period, report time in seconds since epoch
47 when his grace time runs out (or has run out). Field is '0' when
48 no grace time is in effect. This is especially useful when
49 parsing output by a script.
50
51 -i, --no-autofs
52 ignore mountpoints mounted by automounter
53
54 -l, --local-only
55 report quotas only on local filesystems (ie. ignore NFS mounted
56 filesystems).
57
58 -A, --all-nfs
59 report quotas for all NFS filesystems even if they report to be
60 on the same device.
61
62 -m, --no-mixed-pathnames
63 Currently, pathnames of NFSv4 mountpoints are sent without lead‐
64 ing slash in the path. rpc.rquotad uses this to recognize NFSv4
65 mounts and properly prepend pseudoroot of NFS filesystem to the
66 path. If you specify this option, setquota will always send
67 paths with a trailing slash. This can be useful for legacy rea‐
68 sons but be aware that quota over RPC will stop working if you
69 are using new rpc.rquotad.
70
71 -q, --quiet
72 Print a more terse message, containing only information on
73 filesystems where usage is over quota.
74
75 -Q, --quiet-refuse
76 Do not print error message if connection to rpc.rquotad is
77 refused (usually this happens when rpc.rquotad is not running on
78 the server).
79
80 -w, --no-wrap
81 Do not wrap the line if the device name is too long. This can be
82 useful when parsing the output of quota(1) by a script.
83
84 Specifying both -g and -u displays both the user quotas and the group
85 quotas (for the user).
86
87 Only the super-user may use the -u flag and the optional user argument
88 to view the limits of other users. Non-super-users can use the the -g
89 flag and optional group argument to view only the limits of groups of
90 which they are members.
91
92 The -q flag takes precedence over the -v flag.
93
95 If quota exits with a non-zero status, one or more filesystems are over
96 quota.
97
99 aquota.user or aquota.group
100 quota file at the filesystem root (version 2 quota,
101 non-XFS filesystems)
102 quota.user or quota.group
103 quota file at the filesystem root (version 1 quota,
104 non-XFS filesystems)
105 /etc/mtab default filesystems
106
108 quotactl(2), fstab(5), edquota(8), quotacheck(8), quotaon(8),
109 quota_nld(8), repquota(8),
110
111
112
113 QUOTA(1)