首页
首页 » 磁盘管理 » quota

quota

quota
功能说明:显示磁盘已使用的空间与限制。
语  法:quota [-quvV][用户名称...] 或 quota [-gqvV][群组名称...]
补充说明:执行quota指令,可查询磁盘空间的限制,并得知已使用多少空间。
参  数:
  -g   列出群组的磁盘空间限制。
  -q   简明列表,只列出超过限制的部分。
  -u   列出用户的磁盘空间限制。
  -v   显示该用户或群组,在所有挂入系统的存储设备的空间限制。
  -V   显示版本信息。

quota

quota [options] [user|group]

Display disk usage and total space allowed for a designated user or group. With no argument, the quota for the current user is displayed. Most users can display only their own quota information, but the superuser can display information for any user. This command reports quotas for all filesystems listed in /etc/mtab. For NFS-mounted filesystems, quota calls rpc.rquotad on the server machine for the information.

Options

-F format

Show quota for the specified format. If not specified, autodetects the format.

-g

Given with a user argument, display the quotas for the groups of which the user is a member, instead of the user's quotas. With no argument, shows group quotas for the current user.

-i

Igonore mountpoints that are mounted by the automounter.

-l

Only report quotas on local filesystems.

-q

Display information only for filesystems in which the user is over quota.

-Q

For NFS-mounted filesystems. do not print an error message if the connection to rpc.rquotad is refused (usually because it is not running on the server).

-s

Try to choose units for displaying limits, space used, and inodes used.

-u

The default behavior. When used with -g, display both user and group quota information.

-v

Display quotas for filesystems even if no storage is currently allocated.

Formats

rpc

Quota over NFS.

vfsold

Version 1 quota.

vfsv0

Version 2 quota.

xfs

Quota on XFS filesystem.