quota - display disk use and limits

Overview (SYNOPSIS)

quota [ -guv | q ]
quota [ -uv | q ] user
quota [ -gv | q ] group

Description (DESCRIPTION)

Quota display the user's disk usage and limits. The default display function that only user quotas.

 

-g
Display group quotas user's group. Options (optional).
-u
And by default the same.
-v
Limits on the display file system, even if there is no space.
-q
Concise information, only the file system beyond the limits.

Specify -g and -u both display user quotas, group quotas also show the user.

Only the superuser can use the -u option and user parameters to view another user's quota. Ordinary users can use the -g option and the group parameter viewing limit user's group.

-q option takes precedence over the -v option.

Quota Report / etc / fstab quota on all the file systems listed. If the file system is mounted NFS, Quota rpc.rquotad call on the server to get the relevant information.

If the quota returns a nonzero value, indicating that some files on the system exceeds the limit.

File (FILES)

quota.user located in the root directory of the file system, store the user quota
quota.group located in the root directory of the file system, storage group quotas
/ etc / fstab is used to find the name and location of the file system 

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11097696.html