Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

quot(1m) [opensolaris man page]

quot(1M)						  System Administration Commands						  quot(1M)

NAME
quot - summarize file system ownership SYNOPSIS
quot [-acfhnv] filesystem... quot -a [-cfhnv] DESCRIPTION
quot displays the number of blocks (1024 bytes) in the named 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. 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 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 -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(s) being checked USAGE
See largefile(5) for the description of the behavior of quot when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes). EXIT STATUS
0 Successful operation. 32 Error condition (bad or missing argument, bad path, or other error). FILES
/etc/mnttab Lists mounted file systems. /etc/passwd Used to obtain user names ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
du(1), mnttab(4), passwd(4), attributes(5), largefile(5) NOTES
This command can only be used by the super-user. SunOS 5.11 30 May 2001 quot(1M)

Check Out this Related Man Page

quotaon(1M)						  System Administration Commands					       quotaon(1M)

NAME
quotaon, quotaoff - turn ufs file system quotas on and off SYNOPSIS
quotaon [-v] filesystem... quotaon -a [-v] quotaoff [-v] filesystem... quotaoff -a [-v] DESCRIPTION
quotaon turns on disk quotas for one or more ufs file systems. Before a file system may have quotas enabled, a file named quotas, owned by root, must exist in the root directory of the file system. See edquota(1M) for details on how to modify the contents of this file. quotaoff turns off disk quotas for one or more ufs file systems. The file systems specified must already be mounted. These commands update the mntopts field of the appropriate entries in /etc/mnttab to indicate when quotas are on or off for each file sys- tem. If quotas are on, the string quota will be added to mntopts; if quotas are off, the quota string is not present. filesystem must be either the mount point of a file system, or the block device on which the file system resides. OPTIONS
quotaon -a This option is normally used at boot time to enable quotas. It applies only to those file systems in /etc/vfstab which have ``rq'' in the mntopts field, are currently mounted ``rw'', and have a quotas file in the root directory. -v Display a message for each file system after quotas are turned on. quotaoff -a Force all file systems in /etc/mnttab to have their quotas disabled. -v Display a message for each file system affected. USAGE
See largefile(5) for the description of the behavior of quotaon and quotaoff when encountering files greater than or equal to 2 Gbyte ( 2 **31 bytes). FILES
/etc/mnttab mounted file systems /etc/vfstab list of default parameters for each file system ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
edquota(1M), quota(1M), quotacheck(1M), repquota(1M), mnttab(4), vfstab(4), attributes(5), largefile(5), quotactl(7I) SunOS 5.10 16 Sep 1996 quotaon(1M)
Man Page