xref: /original-bsd/usr.sbin/quot/quot.8 (revision c3e32dec)
1.\" Copyright (c) 1980, 1991, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)quot.8	8.1 (Berkeley) 06/06/93
7.\"
8.Dd
9.Dt QUOT 8
10.Os BSD 4
11.Sh NAME
12.Nm quot
13.Nd display total block usage per user for a file system
14.Sh SYNOPSIS
15.Nm quot
16.Op Fl ncf
17.Op Ar filesystem Ar ...
18.Sh DESCRIPTION
19The
20.Nm quot
21command
22displays the total count of blocks owned by a user for the filesystem
23.Ar filesystem .
24If the filesystem option
25.Ar filesystem
26is not specified,
27the file systems listed in
28.Pa /etc/fstab
29are used.
30The following options are available:
31.Bl -tag -width Ds
32.It Fl c
33Display information on file size and block usage. The file sizes
34are listed in the first column, the second column contains a count
35of how many files of that size were found and the third column
36lists the cumulative block usage for the displayed size and all smaller
37files.
38.It Fl f
39For each user,
40the number of files (inodes) owned is displayed in addition
41to the block usage.
42.It Fl n
43A list sorted by block usage is displayed.
44This is the result of
45.Nm quot
46executing the following command:
47.Bd -literal -offset indent
48ncheck filesystem \&| sort +0n \&| quot \-n filesystem
49.Ed
50.El
51.Sh SEE ALSO
52.Xr ls 1 ,
53.Xr du 1
54.Sh HISTORY
55The
56.Nm
57command appeared in
58.At 32v .
59