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 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 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 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 device 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 auser 0 0 0
10 root 0 0 0
# quot -c /tstmnt
/dev/dsk/c0t1d0 (/tstmnt1):
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
AUTHOR
Disk Quotas were developed by the University of California, Berkeley,
Sun Microsystems, Inc., and HP.
FILES
- /etc/mnttab
Mounted file system table
- /etc/passwd
Password file (contains user names).