Go to main content

マニュアルページ セクション 8: システム管理コマンド

印刷ビューの終了

更新: 2022年7月27日
 
 

quot(8)

名前

quot - summarize UFS file system ownership

形式

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

説明

quot displays the number of blocks (1024 bytes) in the named UFS filesystem (one or more) 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.

オプション

The following options are supported:

–a

Generate a report for all mounted UFS 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 three columns giving, for each user, the number of blocks owned, the count of number of files, and the user name. 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–nmyfilesystem

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.

オペランド

filesystem

mount-point of the filesystem(s) being checked

終了ステータス

0

Successful operation.

32

Error condition (bad or missing argument, bad path, or other error).

ファイル

/etc/mnttab

Lists mounted file systems.

属性

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/file-system/ufs

関連項目

du(1), mnttab(5), passwd(5), attributes(7), repquota(8)

This command must be run by a user with read access to the raw disk device file for each filesystem, which is normally limited to the root user.