Linux quotacheck command
The Linux quotacheck command is used to check disk usage and limits.
Running the quotacheck command scans the partitions mounted on the system and creates quota.user and quota.group files in the root directory of each partition's filesystem, setting disk space limits for users and groups.
Syntax
quotacheck [-adgRuv][文件系统...]
Parameters:
- -a Scan partitions that have quota settings enabled in the /etc/fstab file.
- -d Display the command execution process in detail, to help troubleshoot or understand how the program runs.
- -g When scanning disk space, count the number of directories and files used by each group ID.
- -R Exclude the partition where the root directory resides.
- -u When scanning disk space, count the number of directories and files used by each user ID.
- -v Display the command execution process.
Linux Command Reference