quot(8) System Manager's Manual quot(8)
NAME
quot - Displays information about user files
SYNOPSIS
/usr/sbin/quot [-cfghnv] [file_spec ...]
PARAMETERS
Specifies one or more file systems. Specify a file system by entering its name as defined by its file_spec parameter in the file. Other-
wise, how you specify a file system depends on whether it is UFS or AdvFS and whether it is mounted.
To specify a UFS file system that is mounted, enter the name of its character device special file. For example: /dev/rdisk/dsk3c.
To specify a UFS that is not mounted, enter the name of its block device special file. For example: /dev/disk/dsk3c.
To specify an AdvFS fileset that is mounted, enter the name of the file domain, a pound-sign(#) character, and the name of the file-
set. For example: root_domain#root.
You cannot specify an AdvFS fileset that is not mounted.
FLAGS
Displays three columns about user files: each file's size in 1024-byte disk blocks, the number of files that are the same size as the file,
and the cumulative total of 1024-byte disk blocks that are in files that are of the same size or smaller than the file. Displays three
columns about user files: the space allocated for the user's files in 1024-byte disk blocks, the number of files owned by the user, and the
user name. Displays three columns about user files in different groups: the space allocated for the user files in 1024-byte disk blocks,
the user name, and the user's group. For UFS, displays two columns about user files: an estimate of the space allocated for the user
files in 1024-byte disk blocks and the user name. The estimate does not include calculations for sparse files and therefore inaccurately
represents them.
The flag is not implemented for AdvFS filesets. Displays a list of all files and the user name of their owners. However, you must
use the flag in the following pipeline: ncheck filesystem |sort +0n| quot -n filesystem
For example:
# ncheck /dev/rdisk/dsk0a|sort +0n|quot -n /dev/rdisk/dsk0a
> quot.out
If you attempt to use the -n flag by itself, the quot command hangs. Displays five columns about user files: the space allocated
for the user files in 1024-byte disk blocks, the user name, and how many blocks there are in user files that have not been accessed
in 30, 60, and 90 days.
DESCRIPTION
The quot command displays information about each file system's users and the files that they own. If you do not specify a file system, the
quot command processes all file systems of type ro, rw, or rq that are listed in the /etc/fstab file.
NOTES
The term file system represents either a UFS file system or an AdvFS fileset.
RESTRICTION
You must be the root user to use the quot command.
For UFS file systems, the file_spec parameter must be the name of a device that can be opened for reading.
EXAMPLES
The following command displays the blocks used and the number of files owned by each user on the mounted file system specified by the
/dev/rdisk/dsk1a character device special file name: # quot -f /dev/rdisk/dsk1a /dev/rrz1a: 42813 760 root 23882 543 bin
6 2 devbld
The following command displays the number of blocks owned by each user: # quot staff_domain#usr
staff_domain#usr: 308522 bin 93881 smith 62270 root
4335 #553
3615 bold
24 daemon
15 steven
14 jones
14 walter
6 adm
3 north
The following command displays the aging of files in the test_domain#test fileset:
# quot -v test_domain#test test_domain#test: 788912 jdoe 334932 299802 297186
1350 root 1318 1318 1310
13 nobody 13 13 0 #
FILES
Command path Contains user information Lists file systems
RELATED INFORMATION
ls(1), du(1). delim off
quot(8)