Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > Q

quot(1M)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

quot — summarize file system ownership

SYNOPSIS

/usr/sbin/quot [-F FStype] [-V] [-cfhnv] [-o FSspecific-options] filesystem ...

/usr/sbin/quot [-F FStype] [-V] [-cfhnv] -a

DESCRIPTION

The quot command displays the number of 1024-byte blocks in the named 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 FStype

Specify the file system type on which to operate (see fstyp(1M) and fs_wrapper(5)). If this option is not included on the command line, the file system type is determined from the file /etc/fstab by matching filesystem with an entry in that file. If there is no entry in /etc/fstab, then the file system type is determined from the file /etc/default/fs.

-V

Echo the completed command line, but perform no other action. The command line is generated by incorporating the user-specified options and other information derived from /etc/fstab. This option allows the user to verify the command line.

-o FSspecific-options

Specify any options specific to the file system.

-a

Generate a report for all mounted file systems.

-c

Report size rather than user statistics. 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.

Use of this option overrides the -f and -v options.

-f

Display 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. This option does not account for sparse files (files with holes in them).

-n

Accept data from the ncheck command (see ncheck(1M)) as input. Run the pipeline:

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

to produce a list of all files and their owners.

-v

Display three columns containing the number of blocks not accessed in the last 30, 60, and 90 days.

AUTHOR

quot was developed by the University of California, Berkeley, Sun Microsystems, Inc., and HP.

FILES

/etc/default/fs

Specifies the default file system type

/etc/fstab

Static information about the file systems

/etc/mnttab

Mounted file system table

/etc/passwd

Password file (contains user names)

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.