[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    quot(1M) manual page Table of Contents

Name

quot - summarize file system ownership

Synopsis

quot [ -acfhnv ] filesystem
quot -a [ -cfhnv ]

Availability

SUNWcsu

Description

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 will be counted as a 2048 block file, but the total block count will be correct.

Options

The following options are supported:
-a
Generate a report for all mounted file systems.
-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.
-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 myfilesystem | sort +0n |
quot -n myfilesystem
will produce 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.

Operands

filesystem
mount-point of the filesystem being checked

Exit Status

  1. Successful operation.
  2. Error condition (bad or missing argument, bad path, or other error).

Files

/etc/mnttab
mounted file systems
/etc/passwd
to get user names

See Also

du(1M) , mnttab(4) , passwd(4)

Notes

This command may only be used by the super-user.


Table of Contents