quot - summarize ownership on a VxFS file system
/usr/sbin/quot [-F vxfs] [-cfhnv] [-V] filesystem ...
/usr/sbin/quot [-F vxfs] [-cfhnv] [-V] -a
quot displays the number of 1024-byte blocks in the specified VxFS
filesystem that are currently owned by each user. filesystem is
either the name of the directory on which the file system is mounted
or the name of the device containing the file system.
quot recognizes the following options:
-F vxfs Specifies file system type vxfs
-a Generate a report for all mounted file systems.
-c Report file system size instead of user statistics.
The -c option generates histogram statistics in 3-
Column 1: File size in blocks. Sizes are listed in
ascending order up to 499 blocks per file.
Files occupying 499 or more blocks are
counted together on a single line as 499-
block files, but column 3 is based on
actual number of blocks occupied.
Column 2: Number of files of size indicated in column
Column 3: Cumulative total blocks occupied by files
counted in current plus all preceding
The -c option overrides the -f and -v options.
-f Display the number of files and space occupied by each
-h Calculate the number of blocks in the file based on
file size rather than actual blocks allocated. The -h
option does not account for sparse files (files with
holes in them).
-n Accept ncheck(1M) data as input. The following
pipeline will produce a list of all files and their
Hewlett-Packard Company - 1 - HP-UX Release 11i: November 2000
ncheck device | sort +0n | quot -n filesystem
-v Display three columns containing the number of blocks
not accessed in the last 30, 60, and 90 days.
-V Validate the command line options, but do not execute
the command. If the options specified are valid, quot
-V echoes the complete command line. If the options
specified are not valid, it prints an error message.
The following examples show the output of quot using various options.
# quot /tstmnt
# quot -v /tstmnt
109 auser 0 0 0
10 root 0 0 0
# quot -c /tstmnt
0 2 0
1 4 4
2 4 12
3 5 27
4 1 31
7 1 38
10 2 58
12 1 70
15 1 85
16 1 101
18 1 119
2047 0 119
Disk Quotas were developed by the University of California, Berkeley,
Sun Microsystems, Inc., and HP.
/etc/mnttab Mounted file system table
/etc/passwd Password file (contains user names).
Hewlett-Packard Company - 2 - HP-UX Release 11i: November 2000
quot(1M), du(1), find(1), fstyp(1M), ls(1), mount(1M), ncheck(1M),
Hewlett-Packard Company - 3 - HP-UX Release 11i: November 2000