|
|
1.1 root 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: .\" Redistribution and use in source and binary forms are permitted provided
9: .\" that: (1) source distributions retain this entire copyright notice and
10: .\" comment, and (2) distributions including binaries display the following
11: .\" acknowledgement: ``This product includes software developed by the
12: .\" University of California, Berkeley and its contributors'' in the
13: .\" documentation or other materials provided with the distribution and in
14: .\" all advertising materials mentioning features or use of this software.
15: .\" Neither the name of the University nor the names of its contributors may
16: .\" be used to endorse or promote products derived from this software without
17: .\" specific prior written permission.
18: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
19: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
20: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21: .\"
22: .\" @(#)quota.1 6.6 (Berkeley) 7/24/90
23: .\"
24: .Dd July 24, 1990
25: .Dt QUOTA 1
26: .Os BSD 4.2
27: .Sh NAME
28: .Nm quota
29: .Nd display disk usage and limits
30: .Sh SYNOPSIS
31: .Nm quota
32: .Op Fl g
33: .Op Fl u
34: .Op Fl v Li \&| Fl q
35: .Nm quota
36: .Op Fl u
37: .Op Fl v Li \&| Fl q
38: .Ar user
39: .Nm quota
40: .Op Fl g
41: .Op Fl v Li \&| Fl q
42: .Ar group
43: .Sh DESCRIPTION
44: .Nm Quota
45: displays users' disk usage and limits.
46: By default only the user quotas are printed.
47: .Pp
48: Options:
49: .Pp
50: .Tw Ds
51: .Tp Fl g
52: Print group quotas for the group
53: of which the user is a member.
54: The optional
55: .Fl u
56: flag is equivalent to the default.
57: .Tp Fl v
58: .Nm quota
59: will display quotas on filesystems
60: where no storage is allocated.
61: .Tp Fl q
62: Print a more terse message,
63: containing only information
64: on filesystems where usage is over quota.
65: .Tp
66: .Pp
67: Specifying both
68: .Fl g
69: and
70: .Fl u
71: displays both the user quotas and the group quotas (for
72: the user).
73: .Pp
74: Only the super-user may use the
75: .Fl u
76: flag and the optional
77: .Ar user
78: argument to view the limits of other users.
79: Non-super-users can use the the
80: .Fl g
81: flag and optional
82: .Ar group
83: argument to view only the limits of groups of which they are members.
84: .Pp
85: The
86: .Fl q
87: flag takes precedence over the
88: .Fl v
89: flag.
90: .Pp
91: .Nm Quota
92: reports the quotas of all the filesystems listed in
93: .Pa /etc/fstab .
94: If
95: .Nm quota
96: exits with a non-zero status, one or more filesystems
97: are over quota.
98: .Sh FILES
99: .Dw quota.group
100: .Di L
101: .Dp Pa quota.user
102: located at the filesystem root with user quotas
103: .Dp Pa quota.group
104: located at the filesystem root with group quotas
105: .Dp Pa /etc/fstab
106: to find filesystem names and locations
107: .Dp
108: .Sh HISTORY
109: .Nm Quota
110: appeared in 4.2 BSD.
111: .Sh SEE ALSO
112: .Xr quotactl 2 ,
113: .Xr fstab 5 ,
114: .Xr edquota 8 ,
115: .Xr quotacheck 8 ,
116: .Xr quotaon 8 ,
117: .Xr repquota 8
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.