← 返回命令列表

Linux command

repquota 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Report

sudo repquota -a

Report

sudo repquota -v [filesystem]

Report

repquota -u [filesystem]

Report

sudo repquota -g [filesystem]

Report

sudo repquota -s [filesystem]

Report

sudo repquota -augs

说明

repquota displays a summary of disk quotas for specified filesystems. It shows the current usage, soft limits, hard limits, and grace period status for users and/or groups. The output includes columns for used space, soft/hard limits, used files (inodes), and whether the user is over quota. The grace period indicates how long a user can exceed the soft limit.

参数

-a, --all
Report on all filesystems with quotas enabled
-u, --user
Report on user quotas (default)
-g, --group
Report on group quotas
-v, --verbose
Include users/groups with no storage used
-s, --human-readable
Display sizes in human-readable format (KB, MB, GB)
-p, --raw-grace
Report grace times in seconds since epoch
-n, --no-names
Show numeric UIDs/GIDs instead of names
-c, --batch-translation
Cache name lookups for better performance

FAQ

What is the repquota command used for?

repquota displays a summary of disk quotas for specified filesystems. It shows the current usage, soft limits, hard limits, and grace period status for users and/or groups. The output includes columns for used space, soft/hard limits, used files (inodes), and whether the user is over quota. The grace period indicates how long a user can exceed the soft limit.

How do I run a basic repquota example?

Run `sudo repquota -a` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -a, --all do in repquota?

Report on all filesystems with quotas enabled