vxquot - display file system ownership summaries for a VxFS file system
vxquot [ -c ] filesystem
vxquot [ -fgHhnuv ] filesystem
vxquot -a [ -c ]
vxquot -a [ -fghnuv ]
vxquot displays the number of blocks owned by each user in the named Veritas File System. Blocks are 1024 bytes.
This command operates the same on cluster file systems, however, to enable quotas for CFS, the quotas/quotas.64 file must be on the same file system; links to another file system are not allowed.
-a Displays usage summary for all the mounted VxFS file systems. -c Prints a three column output of overall file system usage.
o Column one displays file size in blocks. Files larger than 2047 blocks are included in the 2047-block entry. o Column two contains the number of files of that size. Files larger than 2048 blocks display as 2048-block files. o Column three shows the cumulative total of blocks containing files of that size or smaller. -f Displays the number of files and the space owned by each user. Incompatible with the -c and -v options. If specified with -f, the -c or -v option takes precedence. -g Prints summaries for groups. -H Displays storage usage in the following human-friendly units: B (bytes), KB (kilobytes), MB (megabytes), GB (gigabytes), TB (terabytes), PB (petabytes), and EB (exabytes). -h Computes size based on the number of blocks in the file. This does not account for holes in a file. -n Attach user names to the list of files read from standard input. vxquot -n does not work by itself, it requires data from standard input. For example:
ncheck -t vxfs /dev/vx/rdsk/fsvol/vol1 | vxquot -n tstmnt
-u Prints summaries for users. -v Supplies additional information to the default output. Displays three additional columns containing the number of blocks not accessed in the previous 30, 60, and 90 days.
The following examples show the output of vxquot using various options.
# vxquot /tstmnt
/dev/vx/rdsk/fsvol/vol1 (/tstmnt): 109 auser 10 root # vxquot -v /tstmnt
/dev/vx/rdsk/fsvol/vol1 (/tstmnt): 109 auser 0 0 0 10 root 0 0 0 # vxquot -c /tstmnt
/dev/vx/rdsk/fsvol/vol1 (/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
/etc/mtab Table of mounted file systems. /etc/passwd Password file.
vxedquota(1M), vxquotaon(1M), passwd(4)