[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: disk usage checking



Hailong Li wrote:
Hi there,
Recently, my server's disk usage grows very fast, do you know how to check the
users' file system size? Under /home directory, there are 20 subdirectories,
over 5,000 user accounts are assigned to those subdirectories. How to check
the user's filesystem size quickly so that I can ask users to delete some of
their files? The Operating System is RedHat 7.2.
Thanks alot!
Hailong Li

du -sh /home/*


You should setup some quotas for your disk. That will warn users when they get close to the specified disk usage.

man quota
man quotaon
man edquota

Forrest
--





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]