quot - Displays information about user files
/usr/sbin/quot [-cfghnv] [file_spec...]
-c Displays three columns about user files: file size in 1024-byte disk
blocks, number of files that are the size described in column one, and
the cumulative total of 1024-byte disk blocks that are in files of the
size or smaller described in column one.
-f 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.
-g 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.
-h Displays two columns about user files: an estimate of the space allo-
cated for the user files in 1024-byte disk blocks and the user name.
The estimate does not include calculations for sparse files and there-
fore inaccurately represents them.
-n Displays a list of all files and the user name of their owners. How-
ever, you must use the option in the following pipeline:
ncheck filesystem |sort +0n| quot -n filesystem
# ncheck /dev/rdisk/dsk0a|sort +0n|quot -n /dev/rdisk/dsk0a \
If you attempt to use the -n option by itself, the quot command hangs.
-v 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
Specifies one or more file systems. Specify a file system by entering
its name as defined by its file_spec parameter in the /etc/fstab file.
Otherwise, 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 dev-
ice 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 fileset. For
You cannot specify an AdvFS fileset that is not mounted.
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 com-
mand processes all file systems of type ro, rw, or rq that are listed in
the /etc/fstab file.
The term file system represents either a UFS file system or an AdvFS
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.
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
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
The following command displays the aging of files in the test_domain#test
# quot -v test_domain#test
788912 jdoe 334932 299802 297186
1350 root 1318 1318 1310
13 nobody 13 13 0
The following command displays space allocation for the quot_all_fs1
fileset in the quot_all_dmn domain:
# quot -h quot_all_dmn#quot_all_fs1
Contains user information
Lists file systems