Manual Page Result
0
Command: quot | Section: 8 | Source: Digital UNIX | File: quot.8.gz
quot(8) System Manager's Manual quot(8)
NAME
quot - summarizes file system ownership
SYNOPSIS
/usr/sbin/quot [-cfhnv] [file_spec ...]
/usr/sbin/quot [-g] [group]
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. 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/rrz3c.
To specify a UFS that is not mounted, enter the name of its
block device special file. For example: /dev/rz3c.
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 example: root_domain#root.
You cannot specify an AdvFS fileset that is not mounted. Speci-
fies a group name.
FLAGS
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 para-
meter. 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.
DESCRIPTION
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.
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 de-
vice 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/rrz1a character device special file name: # quot -f /dev/rrz1a
/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
FILES
Command path Contains user information Lists file systems
RELATED INFORMATION
ls(1), du(1). delim off
quot(8)