quot_hfs.1m (2010 09)

q
quot_hfs(1M) quot_hfs(1M)
NAME
quot_hfs: quot - summarize ownership on an HFS file system
SYNOPSIS
/usr/sbin/quot
[-F hfs][-V][-cfhnuv] filesystem ...
/usr/sbin/quot
[-F hfs][-V][-cfhnuv]
-a
DESCRIPTION
The quot command displays the number of 1024-byte blocks in the named HFS 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:
-a Generate a report for all mounted HFS file systems.
-c Report size rather than user statistics. Generates histogram statistics in 3-column for-
mat:
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.
Use of this option overrides the
-f and -v options.
-f Display number of files and space occupied by each user.
-F hfs Specify the file system type hfs.
-h Calculate the number of blocks in the file based on file size rather than actual blocks allo-
cated. This option does not account for sparse files (files with holes in them).
-n Accept data from the ncheck command (see ncheck (1M)) as input. Run the pipeline:
ncheck device | sort +0n | quot -n filesystem
to produce a list of all files and their owners.
-u Report on users. This is the default action.
-v Display three columns containing the number of blocks not accessed in the last 30, 60,
and 90 days.
-V Echo the completed command line, but perform no other action. The command line is
generated by incorporating the user-specified options and other information derived from
/etc/fstab. This option allows the user to verify the command line. If the options
specified are valid, the completed command line is echoed. If the options specified are
not valid, an error message is printed.
AUTHOR
quot, a disk quota command, was developed by the University of California, Berkeley, Sun Microsys-
tems, Inc., and HP.
FILES
/etc/fstab Static information about the file systems
/etc/mnttab Mounted file system table
/etc/passwd Password file (contains user names)
SEE ALSO
du(1), find(1), ls(1), fstyp(1M), mount(1M), ncheck(1M), quot(1M), repquota(1M), quota(5).
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1