2 .\" Copyright (c) 2001, Sun Microsystems, Inc. All Rights Reserved
3 .\" Copyright 1989 AT&T
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH QUOT 1M "May 30, 2001"
9 quot \- summarize file system ownership
13 \fBquot\fR [\fB-acfhnv\fR] \fIfilesystem\fR...
18 \fBquot\fR \fB-a\fR [\fB-cfhnv\fR]
24 \fBquot\fR displays the number of blocks (1024 bytes) in the named
25 \fIfilesystem\fR (one or more) currently owned by each user. There is a limit
26 of 2048 blocks. Files larger than this will be counted as a 2048 block file,
27 but the total block count will be correct.
31 The following options are supported:
38 Generate a report for all mounted file systems.
47 Display three columns giving a file size in blocks, the number of files of that
48 size, and a cumulative total of blocks containing files of that size or a
58 Display three columns giving, for each user, the number of blocks owned, the
59 count of number of files, and the user name. This option is incompatible with
60 the \fB-c\fR and \fB-v\fR options.
69 Estimate the number of blocks in the file. This does not account for files with
79 Attach names to the list of files read from standard input. \fBquot\fR \fB-n\fR
80 cannot be used alone, because it expects data from standard input. For example,
83 \fBncheck myfilesystem | sort +0n | quot \fR\fB-n\fR\fB myfilesystem\fR
85 will produce a list of all files and their owners. This option is incompatible
86 with all other options.
95 In addition to the default output, display three columns containing the number
96 of blocks not accessed in the last 30, 60, and 90 days.
103 \fB\fIfilesystem\fR\fR
106 mount-point of the filesystem(s) being checked
112 See \fBlargefile\fR(5) for the description of the behavior of \fBquot\fR when
113 encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
121 Successful operation.
130 Error condition (bad or missing argument, bad path, or other error).
137 \fB\fB/etc/mnttab\fR\fR
140 Lists mounted file systems.
146 \fB\fB/etc/passwd\fR\fR
149 Used to obtain user names
155 \fBdu\fR(1), \fBmnttab\fR(4), \fBpasswd\fR(4), \fBattributes\fR(5),
160 This command can only be used by the super-user.