xref: /original-bsd/usr.bin/quota/quota.1 (revision c3e32dec)
1.\" Copyright (c) 1983, 1990, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Robert Elz at The University of Melbourne.
6.\"
7.\" %sccs.include.redist.roff%
8.\"
9.\"	@(#)quota.1	8.1 (Berkeley) 06/06/93
10.\"
11.Dd
12.Dt QUOTA 1
13.Os BSD 4.2
14.Sh NAME
15.Nm quota
16.Nd display disk usage and limits
17.Sh SYNOPSIS
18.Nm quota
19.Op Fl g
20.Op Fl u
21.Op Fl v | Fl q
22.Nm quota
23.Op Fl u
24.Op Fl v | Fl q
25.Ar user
26.Nm quota
27.Op Fl g
28.Op Fl v | Fl q
29.Ar group
30.Sh DESCRIPTION
31.Nm Quota
32displays users' disk usage and limits.
33By default only the user quotas are printed.
34.Pp
35Options:
36.Pp
37.Bl -tag -width Ds
38.It Fl g
39Print group quotas for the group
40of which the user is a member.
41The optional
42.Fl u
43flag is equivalent to the default.
44.It Fl v
45.Nm quota
46will display quotas on filesystems
47where no storage is allocated.
48.It Fl q
49Print a more terse message,
50containing only information
51on filesystems where usage is over quota.
52.El
53.Pp
54Specifying both
55.Fl g
56and
57.Fl u
58displays both the user quotas and the group quotas (for
59the user).
60.Pp
61Only the super-user may use the
62.Fl u
63flag and the optional
64.Ar user
65argument to view the limits of other users.
66Non-super-users can use the the
67.Fl g
68flag and optional
69.Ar group
70argument to view only the limits of groups of which they are members.
71.Pp
72The
73.Fl q
74flag takes precedence over the
75.Fl v
76flag.
77.Pp
78.Nm Quota
79reports the quotas of all the filesystems listed in
80.Pa /etc/fstab .
81If
82.Nm quota
83exits with a non-zero status, one or more filesystems
84are over quota.
85.Sh FILES
86.Bl -tag -width quota.group -compact
87.It Pa quota.user
88located at the filesystem root with user quotas
89.It Pa quota.group
90located at the filesystem root with group quotas
91.It Pa /etc/fstab
92to find filesystem names and locations
93.El
94.Sh HISTORY
95The
96.Nm quota
97command appeared in
98.Bx 4.2 .
99.Sh SEE ALSO
100.Xr quotactl 2 ,
101.Xr fstab 5 ,
102.Xr edquota 8 ,
103.Xr quotacheck 8 ,
104.Xr quotaon 8 ,
105.Xr repquota 8
106