HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)
q
quot_vxfs(1M) quot_vxfs(1M)
NAME
quot - summarize ownership on a VxFS file system
SYNOPSIS
/usr/sbin/quot
[-F vxfs][-cfhnv][-V
] filesystem ...
/usr/sbin/quot
[-F vxfs][-cfhnv][-V
] -a
DESCRIPTION
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.
Options
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 format:
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 1.
Column 3: Cumulative total blocks occupied by files counted in current plus all preceding
lines.
The -c option overrides the -f and -v options.
-f Display the number of files and space occupied by each user.
-h Calculate the number of blocks in the file based on file size rather than actual blocks allo-
cated. 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 owners:
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.
EXAMPLES
The following examples show the output of quot using various options.
# quot /tstmnt
/dev/dsk/c0t1d0 (/tstmnt):
109 auser
10 root
# quot -v /tstmnt
/dev/dsk/c0t1d0 (/tstmnt):
109 auser 0 0 0
10 root 0 0 0
# quot -c /tstmnt
/dev/dsk/c0t1d0 (/tstmnt1):
020
144
HP-UX 11i Version 1: September 2005 − 1 − Hewlett-Packard Company Section 1M−−713