quot_vxfs(ADM)


quot_vxfs -- display file system ownership summaries for a VERITAS (vxfs) File System

vxquot- display file system ownership summaries for a VERITAS (vxfs) File System

Synopsis

vxquot [ -F vxfs ]
vxquot [ -cfhnv ] filesystem
vxquot [ -cfhnv ] -a

Description

vxquot displays the number of blocks currently owned by each user in the named the vxfs file system. Blocks are counted in terms of 1024-byte blocks. Files larger than this are grouped together and are counted as a single 2048-block file, but the total usage count shown will be correct.

Options


-F vxfs
Specify the vxfs file system type. If -F vxfs is not specified heuristics similiar to those used by fstyp(ADM) are used to determine the file system type.

This command executes faster if it is not required to autodetect file system types. If possible, specify -F vxfs.


-a
Displays usage summary for all the mounted vxfs file systems.

-c
Prints a three column output giving overall file system usage as follows:

The first column displays file size in blocks, up to a maximum of 2048 blocks. The second column contains the number of files of that size. Files larger than 2048 blocks will be displayed as 2048-block files. The third column 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. This option is incompatible with the -c and -v options. The -c or -v option will override -f if given together.

-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 expects data from standard input. For example:
   ncheck -F vxfs/dev/rdsk/c0b0t1d0s3 | vxquot -n

-v
Gives additional information with the default output. Displays three additional columns containing the number of blocks not accessed in the last 30, 60, and 90 days.

Examples

The following examples show how vxquot gives different results for different options. The command:
   vxquot /tstmnt

Produces the following output:

   /dev/dsk/c0b0t1d0s3 (/tstmnt):
   	109   auser  
   	10    root   

The command:

   vxquot -v /tstmnt

Produces the following output:

   /dev/dsk/c0b0t1d0s3 (/tstmnt):
     	109   auser               0       0       0
      	10    root                0       0       0

The command:

   vxquot -c /tstmnt

Produces the following output:

   /dev/dsk/c0b0t1d0s3 (/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
   

Files


/etc/mnttab
Table of mounted file systems.

/etc/passwd
Password file.

References

fstyp(ADM), mnttab(F), passwd(F)
© 2007 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 05 June 2007