1.\" Copyright (C) 1994 Wolfgang Solfrank. 2.\" Copyright (C) 1994 TooLs GmbH. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 3. All advertising materials mentioning features or use of this software 14.\" must display the following acknowledgement: 15.\" This product includes software developed by TooLs GmbH. 16.\" 4. The name of TooLs GmbH may not be used to endorse or promote products 17.\" derived from this software without specific prior written permission. 18.\" 19.\" THIS SOFTWARE IS PROVIDED BY TOOLS GMBH ``AS IS'' AND ANY EXPRESS OR 20.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 22.\" IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 24.\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 25.\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 26.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 27.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 28.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29.\" 30.Dd November 13, 2025 31.Dt QUOT 8 32.Os 33.Sh NAME 34.Nm quot 35.Nd display disk space occupied by each user 36.Sh SYNOPSIS 37.Nm 38.Op Fl cfknv 39.Op Fl a | Ar filesystem ... 40.Sh DESCRIPTION 41The 42.Nm 43utility 44is used to gather per-user disk usage statistics from 45.Xr ffs 7 46file systems. 47.Pp 48The following options are available: 49.Bl -tag -width indent 50.It Fl a 51Include statistics for all mounted file systems. 52.It Fl c 53Display three columns containing number of blocks per file, 54number of files in this category, and aggregate total of 55blocks in files with this or lower size. 56This option is mutually exclusive with the 57.Fl n 58option. 59.It Fl f 60For each user, display count of files and space occupied. 61This option has no effect if combined with the 62.Fl c 63or 64.Fl n 65options. 66.It Fl k 67Force the numbers to be reported in kilobyte counts. 68By default, all sizes are reported in 512-byte block counts. 69.It Fl n 70Given a list of inodes (plus some optional data on each line) 71in the standard input, for each file print out the owner (plus 72the remainder of the input line). 73Lines that do not begin with a number are ignored. 74This is traditionally used 75in the pipe: 76.Bd -literal -offset indent 77.\" ncheck filesystem | sort +0n | quot -n filesystem 78ls -i | sed -e 's,^ *,,' | sort -k 1n | quot -n filesystem 79.Ed 80.Pp 81to get a report of files and their owners. 82This option is mutually exclusive with the 83.Fl c 84option. 85.It Fl v 86In addition to the default output, display the number of files 87not accessed within 30, 60 and 90 days. 88This option has no effect if combined with the 89.Fl c 90or 91.Fl n 92options. 93.El 94.Sh ENVIRONMENT 95.Bl -tag -width BLOCKSIZE 96.It Ev BLOCKSIZE 97If the environment variable 98.Ev BLOCKSIZE 99is set, and the 100.Fl k 101option is not specified, the block counts will be displayed in units of that 102size block. 103.El 104.Sh SEE ALSO 105.Xr df 1 , 106.Xr quota 1 , 107.Xr getmntinfo 3 , 108.Xr fstab 5 , 109.Xr ffs 7 , 110.Xr mount 8 111.Sh HISTORY 112This implementation of 113.Nm 114is by 115.An Wolfgang Solfrank 116/ TooLs GmbH. 117.Sh BUGS 118.Xr ncheck 119(which would be a lot more useful than 120.Nm ls Fl i 121in the example above) 122does not exist in 123.Fx . 124