fail on null owner names (4.3BSD/etc/127)
[unix-history] / usr / src / usr.sbin / quot / quot.8
CommitLineData
2d795b31
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
27eecfa1 5.\" @(#)quot.8 6.1 (Berkeley) %G%
2d795b31 6.\"
27eecfa1 7.TH QUOT 8 ""
2d795b31
KM
8.UC 4
9.SH NAME
10quot \- summarize file system ownership
11.SH SYNOPSIS
12.B /etc/quot
13[ option ] ...
14[ filesystem ]
15.SH DESCRIPTION
16.I Quot
17prints the number of blocks in the named
18.I filesystem
19currently owned by each user.
20If no
21.I filesystem
22is named, a default name is assumed.
23The following options are available:
24.TP
25.B \-n
26Cause the pipeline
27.B "ncheck filesystem | sort +0n | quot \-n filesystem
28to produce a list of all files and their owners.
29.TP
30.B \-c
31Print three columns giving file size in blocks, number of
32files of that size, and cumulative total of blocks
33in that size or smaller file.
34.TP
35.B \-f
36Print count of number of files as well as space owned by each user.
37.SH FILES
38Default file system varies with system.
39.br
40/etc/passwd to get user names
41.SH "SEE ALSO"
42ls(1), du(1)