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.6 (Berkeley) 07/24/90 11.\" 12.Dd 13.Dt QUOTA 1 14.Os BSD 4.2 15.Sh NAME 16.Nm quota 17.Nd display disk usage and limits 18.Sh SYNOPSIS 19.Nm quota 20.Op Fl g 21.Op Fl u 22.Op Fl v Li \&| Fl q 23.Nm quota 24.Op Fl u 25.Op Fl v Li \&| Fl q 26.Ar user 27.Nm quota 28.Op Fl g 29.Op Fl v Li \&| Fl q 30.Ar group 31.Sh DESCRIPTION 32.Nm Quota 33displays users' disk usage and limits. 34By default only the user quotas are printed. 35.Pp 36Options: 37.Pp 38.Tw Ds 39.Tp Fl g 40Print group quotas for the group 41of which the user is a member. 42The optional 43.Fl u 44flag is equivalent to the default. 45.Tp Fl v 46.Nm quota 47will display quotas on filesystems 48where no storage is allocated. 49.Tp Fl q 50Print a more terse message, 51containing only information 52on filesystems where usage is over quota. 53.Tp 54.Pp 55Specifying both 56.Fl g 57and 58.Fl u 59displays both the user quotas and the group quotas (for 60the user). 61.Pp 62Only the super-user may use the 63.Fl u 64flag and the optional 65.Ar user 66argument to view the limits of other users. 67Non-super-users can use the the 68.Fl g 69flag and optional 70.Ar group 71argument to view only the limits of groups of which they are members. 72.Pp 73The 74.Fl q 75flag takes precedence over the 76.Fl v 77flag. 78.Pp 79.Nm Quota 80reports the quotas of all the filesystems listed in 81.Pa /etc/fstab . 82If 83.Nm quota 84exits with a non-zero status, one or more filesystems 85are over quota. 86.Sh FILES 87.Dw quota.group 88.Di L 89.Dp Pa quota.user 90located at the filesystem root with user quotas 91.Dp Pa quota.group 92located at the filesystem root with group quotas 93.Dp Pa /etc/fstab 94to find filesystem names and locations 95.Dp 96.Sh HISTORY 97.Nm Quota 98appeared in 4.2 BSD. 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