DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

quot_ufs(1M)


quot_ufs -- summarize ufs filesystem ownership

Synopsis

/usr/sbin/quot [-F ufs] [generic_options] [-acfhnv] [filesystem . . . ]

Description

generic_options are options supported by the generic quot command.

quot displays the number of blocks (1024 bytes) in the named filesystem currently owned by each user. There is a limit of 2048 blocks. Files larger than this are counted as a 2048 block file, but the total blocks count remains correct.

ufs-specific options


-F ufs
Specify the ufs FSType. If -F ufs is not specified heuristics similiar to those used by fstyp(1M) are used to determine the file system type.


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


-a
Generate a report for all mounted filesystems.

-c
Display three columns giving a file size in blocks, the number of files of that size, and a cumulative total of blocks containing files of that size or a smaller size. Files exceeding 499 blocks are listed as 499 blocks. The last line always lists 499 blocks, even if there are no files of that size.

-f
Display count of number of files as well as space owned by each user. This option is incompatible with the -c and -v options.

-h
Estimate the number of blocks in the file -- this does not account for files with holes in them.

-n
Attach names to the list of files read from standard input. quot -n cannot be used alone, because it expects data from standard input. For example, the pipeline

ncheck filesystem | sort +0n | quot -n filesystem

produces a list of all files and their owners. This option is incompatible with all other options.


-v
In addition to the default output, display three columns containing the number of blocks not accessed in the last 30, 60, and 90 days.

Files


/etc/mnttab
mounted filesystems

/etc/passwd
to get user names

References

du(1M), fstyp(1M), generic quot(1M)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004