summaryrefslogtreecommitdiff
path: root/quota.1
blob: fec0b29abf913c74f5c1e358da9f2d9f58199756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
.TH QUOTA 1
.SH NAME
quota \- display disk usage and limits
.SH SYNOPSIS
quota [
.B -n
] [
.B -guv | q
]
.br
quota [
.B -n
] [
.B -uv | q
] user
.br
quota [
.B -n
] [
.B -gv | q
] group
.SH DESCRIPTION
.B Quota
displays users' disk usage and limits.
By default only the user quotas are printed.
.PP
.B Quota
reports the quotas of all the filesystems listed in
.B /etc/mtab.
For filesystems that are NFS-mounted a call to the rpc.rquotad on
the server machine is performed to get the information.
.SH OPTIONS
.TP
.B \-n
Print info on numeric arguments e.g. uids and gids instead of users and groups
.TP
.B \-g
Print group quotas for the group 
of which the user is a member.
The optional
.TP
.B \-u
flag is equivalent to the default.
.TP
.B \-v
will display quotas on filesystems
where no storage is allocated.
.TP
.B -q
Print a more terse message,
containing only information
on filesystems where usage is over quota.
.LP
Specifying both
.B \-g
and
.B \-u
displays both the user quotas and the group quotas (for
the user).
.LP
Only the super-user may use the
.B \-u
flag and the optional
.B user
argument to view the limits of other users.
Non-super-users can use the the
.B \-g
flag and optional
.B group
argument to view only the limits of groups of which they are members.
.LP
The
.B \-q
flag takes precedence over the
.B \-v
flag.
.SH DIAGNOSTICS
If
.B quota
exits with a non-zero status, one or more filesystems
are over quota.
.SH FILES
.PD 0
.TP 20
.B aquota.user or aquota.group
quota file at the filesystem root (version 2 quota, non-XFS filesystems)
.TP 20
.B quota.user or quota.group
quota file at the filesystem root (version 1 quota, non-XFS filesystems)
.TP
.B /etc/mtab
default filesystems
.PD
.SH SEE ALSO
.BR quotactl (2),
.BR fstab (5),
.BR edquota (8),
.BR quotacheck (8),
.BR quotaon (8),
.BR repquota (8)