Commit | Line | Data |
---|---|---|
6b914905 KB |
1 | .\" Copyright (c) 1980, 1991, 1993 |
2 | .\" The Regents of the University of California. All rights reserved. | |
2d795b31 | 3 | .\" |
1398e9b8 | 4 | .\" %sccs.include.redist.man% |
2d795b31 | 5 | .\" |
6b914905 | 6 | .\" @(#)quot.8 8.1 (Berkeley) %G% |
1398e9b8 CL |
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 | |
19 | The | |
20 | .Nm quot | |
21 | command | |
22 | displays the total count of blocks owned by a user for the filesystem | |
23 | .Ar filesystem . | |
24 | If the filesystem option | |
25 | .Ar filesystem | |
26 | is not specified, | |
27 | the file systems listed in | |
28 | .Pa /etc/fstab | |
29 | are used. | |
2d795b31 | 30 | The following options are available: |
1398e9b8 CL |
31 | .Bl -tag -width Ds |
32 | .It Fl c | |
33 | Display information on file size and block usage. The file sizes | |
34 | are listed in the first column, the second column contains a count | |
35 | of how many files of that size were found and the third column | |
36 | lists the cumulative block usage for the displayed size and all smaller | |
37 | files. | |
38 | .It Fl f | |
39 | For each user, | |
40 | the number of files (inodes) owned is displayed in addition | |
41 | to the block usage. | |
42 | .It Fl n | |
43 | A list sorted by block usage is displayed. | |
44 | This is the result of | |
45 | .Nm quot | |
46 | executing the following command: | |
47 | .Bd -literal -offset indent | |
48 | ncheck 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 | |
55 | The | |
56 | .Nm | |
57 | command appeared in | |
58 | .At 32v . |