Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

quota(1) [osf1 man page]

quota(1)						      General Commands Manual							  quota(1)

NAME
quota - displays disk usage and limits SYNOPSIS
quota [-agGuUqv] quota [-a] [-g] [groupname] [-qv] quota [-a] [-G] [groupID] [-qv] quota [-a] [-u] [username] [-qv] quota [-a] [-U] [userID] [-qv] OPTIONS
Displays quota information for all mounted file systems: those in the /etc/fstab file and those mounted manually or with automount. The -q option takes precedence over the -a option. When specified without the groupname argument, displays group quotas for groups of which you are a member. Displays group quotas for the group when you specify groupname. When specified without the groupID argument, displays group quotas for groups of which you are a member. Displays group quotas for the group when you specify groupID. Displays only your user quotas (the default) when specified without the username argument. Displays user quotas for the user when you specify username. Displays only your user quotas (the default) when specified without the userID argument. Displays user quotas for the user when you specify userID. Displays information only for file systems that have disk quotas and where usage is over quota. Takes precedence over the -v and -a options. Displays quota information for all mounted file systems that are specified in the /etc/fstab file. Quota information is dis- played for each file system whether or not quotas are enabled for it. The -q option takes precedence over the -v option. DESCRIPTION
The quota command displays disk space usage and limits. Disk quotas are displayed as 1 kilobyte blocks. By default, only your user quotas are displayed. If you use the -g or the -G option without an argument, the quota command displays group quotas for groups of which you are a member. Unless you use the -v option, the quota command reports only on file systems listed in /etc/fstab that have disk quotas and under which you have files. If quota exits with a status of 1, one or more file systems are over quota. If quota exits with a status of 2, there are sys- tem errors. NOTES
The term file system represents either a UFS file system or an AdvFS fileset. Do not use both a user and a group option in the same command. RESTRICTIONS
You must be the root user to use the optional username or userID argument to view information about another user, or to use the optional groupname or groupID argument to view information about a group to which you do not belong. FILES
Contains user quotas for each file system. Contains group quotas for each file system. Contains file system names and locations. SEE ALSO
edquota(8), quot(8), quotacheck(8), quotaon(8), quotaoff(8), repquota(8), quotactl(2), fstab(4) quota(1)

Check Out this Related Man Page

QUOTAON(8)						    BSD System Manager's Manual 						QUOTAON(8)

NAME
quotaon, quotaoff -- turn filesystem quotas on and off SYNOPSIS
quotaon [-g] [-u] [-v] filesystem ... quotaon [-g] [-u] [-v] -a quotaoff [-g] [-u] [-v] filesystem ... quotaoff [-g] [-u] [-v] -a DESCRIPTION
Quotaon announces to the system that disk quotas should be enabled on one or more filesystems. Quotaoff announces to the system that the specified filesystems should have disk quotas turned off. The filesystem must be mounted and it must have the appropriate mount option file located at its root, the .quota.ops.user file for user quota configuration, and the .quota.ops.group file for group quota configuration. Quotaon also expects each filesystem to have the appropriate quota data files located at its root, the .quota.user file for user data, and the .quota.group file for group data. These filenames and their root location cannot be overridden. By default, quotaon will attempt to enable both user and group quotas. By default, quotaoff will disable both user and group quotas. Available options: -a If the -a flag is supplied in place of any filesystem names, quotaon/quotaoff will enable/disable any filesystems with an existing mount option file at its root. The mount option file specifies the types of quotas that are to be configured. -g Only group quotas will be enabled/disabled. The mount option file, .quota.ops.group, must exist at the root of the filesystem. -u Only user quotas will be enabled/disabled. The mount option file, .quota.ops.user, must exist at the root of the filesystem. -v Causes quotaon and quotaoff to print a message for each filesystem where quotas are turned on or off. Specifying both -g and -u is equivalent to the default. Quotas for both users and groups will automatically be turned on at filesystem mount if the appropriate mount option file and binary data file is in place at its root. FILES
Each of the following quota files is located at the root of the mounted filesystem. The mount option files are empty files whose existence indicates that quotas are to be enabled for that filesystem. .quota.user data file containing user quotas .quota.group data file containing group quotas .quota.ops.user mount option file used to enable user quotas .quota.ops.group mount option file used to enable group quotas SEE ALSO
quota(1), quotactl(2), edquota(8), quotacheck(8), repquota(8) HISTORY
The quotaon command appeared in 4.2BSD. 4.2 Berkeley Distribution October 17, 2002 4.2 Berkeley Distribution
Man Page