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