Linux quota command
The Linux quota command is used to display disk space used and limits.
Running the quota command lets you query disk space limits and find out how much space has been used.
Syntax
quota [-quvV][用户名称...] 或 quota [-gqvV][群组名称...]
Parameter Description:
- -g List disk space limits for groups.
- -q Concise list, showing only the parts that exceed the limit.
- -u List disk space limits for users.
- -v Show the space limits of the user or group on all storage devices mounted on the system.
- -V Display version information.
Example
# quota -guvs <==显示目前执行者(就是 root )的 quota 值
# quota -uvs test <==显示 test 这个使用者的 quota 值
Linux Command Reference