HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)
q
quot_vxfs(1M) quot_vxfs(1M)
NAME
quot_vxfs: quot - summarize ownership on a VxFS file system
SYNOPSIS
quot [-F vxfs][-cfhnv
][-V] filesystem ...
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 preced-
ing 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.
Operands
quot recognizes the following operand:
filesystem Name of the directory on which the VxFS file system is mounted or the name of the dev-
ice containing the file system..
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 auser000
10 root 0 0 0
HP-UX 11i Version 2: August 2003 − 1 − Hewlett-Packard Company Section 1M−−649