quot - summarizes file system ownership
/usr/sbin/quot [-cfhnv] [file_spec ...]
/usr/sbin/quot [-g] [group]
Specifies one or more file systems. Specify a file system by entering its name as defined by its file_spec parameter in the file. Otherwise, how you specify a file system depends on whether it is UFS or AdvFS and whether it is mounted.
Displays three columns giving file size in blocks, the number of files of that size, and cumulative total of blocks in a file of that size or smaller. Note that disk quotas are displayed in 1 kilobyte blocks. Displays amount of space used and a count of number of files owned by each user. Displays group quotas for groups of which you are a member, in addition to your user quotas, when specified without the group parameter. Displays group quotas for group when you specify group. For UFS, this option displays the number of blocks used by each user. For AdvFS, the option is not implemented. Displays a list of all files and their owners by performing the following pipeline: ncheck filesystem | sort +0n | quot -n filesystem Displays quota information for all mounted file systems, regardless of whether the user has any files in a given file system or whether quotas are enabled on a file system.
The quot command displays the number of blocks in the file system that are currently owned by each user. 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.
The term file system represents either a UFS file system or an AdvFS fileset.
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/rrz1a
special file name:
# quot -f /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
ls(1), du(1). delim off