quot — display
disk space occupied by each user
quot is used to gather statistics about
the disk usage for each local user.
The options are as follows:
- Include statistics for all mounted filesystems.
- Display three columns containing number of blocks per file, number of
files in this category, and aggregate total of blocks in files with this
or lower size.
- For each user, display count of files and space occupied.
- Estimate the number of blocks in each file based on its size. Despite that
this doesn't give the correct results (it doesn't account for the holes in
files), this option isn't any faster and thus is discouraged.
- By default, all sizes are reported in 512-byte block counts. The
-k options causes the numbers to be reported in
- Given a list of inodes (plus some optional data on each line) in the
standard input, for each file print out the owner (plus the remainder of
the input line). This is traditionally used in the pipe:
# ncheck filesystem | sort -n | quot -n filesystem
to get a report of files and their owners.
- In addition to the default output, display the number of files not
accessed within 30, 60 and 90 days.
- If the environment variable
BLOCKSIZE is set, and
-k option is not specified, the block counts
will be displayed in units of that size block.
quot utility first appeared in
Version 7 AT&T UNIX.
The current version was written by Wolfgang
for NetBSD 1.0.