Copyright (c) 2001, Sun Microsystems, Inc. All Rights Reserved
Copyright 1989 AT&T
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.
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.
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]
quot [-acfhnv] filesystem...
quot -a [-cfhnv]
quot displays the number of blocks (1024 bytes) in the named filesystem (one or more) currently owned by each user. There is a limit of 2048 blocks. Files larger than this will be counted as a 2048 block file, but the total block count will be correct.
The following options are supported: -a
Generate a report for all mounted file systems.
Display three columns giving a file size in blocks, the number of files of that size, and a cumulative total of blocks containing files of that size or a smaller size.
Display three columns giving, for each user, the number of blocks owned, the count of number of files, and the user name. This option is incompatible with the -c and -v options.
Estimate the number of blocks in the file. This does not account for files with holes in them.
Attach names to the list of files read from standard input. quot -n cannot be used alone, because it expects data from standard input. For example, the pipeline ncheck myfilesystem | sort +0n | quot -n myfilesystem will produce a list of all files and their owners. This option is incompatible with all other options.
In addition to the default output, display three columns containing the number of blocks not accessed in the last 30, 60, and 90 days.
mount-point of the filesystem(s) being checked
See largefile(7) for the description of the behavior of quot when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
Successful operation.
Error condition (bad or missing argument, bad path, or other error).
Lists mounted file systems.
Used to obtain user names
du (1), mnttab (5), passwd (5), attributes (7), largefile (7)
This command can only be used by the super-user.