File: quota.1

package info (click to toggle)
quota 1.65-2.5
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 824 kB
  • ctags: 321
  • sloc: ansic: 2,937; makefile: 125; sh: 104
file content (89 lines) | stat: -rw-r--r-- 1,599 bytes parent folder | download | duplicates (2)
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
.TH quota 8 "Tue Jun 8 1993"
.SH NAME
quota \- display disk usage and limits
.SH SYNOPSIS
quota [
.B -guv | q
]
.br
quota [
.B -uv | q
] user
.br
quota [
.B -gv | q
] group
.SH DESCRIPTION
.B Quota
displays users' disk usage and limits.
By default only the user quotas are printed.
.LP
.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.
.LP
.B Quota
reports the quotas of all the filesystems listed in
.B /etc/fstab.
For filesystems that are NFS-mounted a call to the rpc.rquotad on
the server machine is performed to get the information.
If
.B quota
exits with a non-zero status, one or more filesystems
are over quota.
.SH FILES
.B quota.user
located at the filesystem root with user quotas
.br
.B quota.group
located at the filesystem root with group quotas
.br
.B /etc/fstab
to find filesystem names and locations
.SH SEE ALSO
quotactl (2),
fstab (5),
edquota (8),
quotacheck (8),
quotaon (8),
repquota (8)