Installation guide

_______________________ Note _______________________
As an alternative to the du command, you can use the ls s
command to obtain the size and usage of files. Do not use the ls
l command to obtain usage information; ls l displays only
file sizes.
You can use the quot command to list the number of blocks in the named
file system currently owned by each user. You must be root user to use the
quot command.
The quot command has the following syntax:
/usr/sbin/quot
[-c][-f][-n][file_system]
The following example displays the number of blocks used by each user and
the number of files owned by each user in the /dev/rz0h file system:
# /usr/sbin/quot -f /dev/rrz0h
_______________________ Note _______________________
The character device special file must be used to return the
information, because when the device is mounted the block
special device file is busy.
Refer to the quot(8) reference page for more information.
7.7.3 Setting User and Group Quotas for UFS
This section provides information on setting user and group quotas for
UFS. As a system administrator, you establish usage limits for user
accounts and for groups by setting file system quotas, also known as disk
quotas, for them. For information on setting AdvFS user and group quotas,
refer to AdvFS Administration. For more information on user and group
quotas on UFS, refer to Section 9.3.4.
You can apply quotas to file systems to establish a limit on the number of
blocks and inodes (or files) that a user account or a group of users can
allocate. You can set a separate quota for each user or group of users on
each file system. You may want to set quotas on file systems that contain
home directories, such as /usr/users, because the sizes of these file
systems can increase more significantly than other file systems. You should
avoid setting quotas on the /tmp file system.
7–24 Administering the UNIX File System