ben1390

Member
Sep 6, 2012
5
0
1
cPanel Access Level
Root Administrator
Hi All,

I have had an email warning from my VPS server warning that my server is nearly full, I have run a df -h command and can see that something is taking up a lot of room, I know for a fact it's not the http docs taking up all that room, is there a way of finding out what is taking up all that room and clearing the clutter?

Thanks in advance

Code:
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/xvda1            8.9G  6.0G  2.5G  72% /
tmpfs                 497M     0  497M   0% /dev/shm
/usr/tmpDSK           485M   11M  449M   3% /tmp
 

quietFinn

Well-Known Member
Feb 4, 2006
1,894
463
438
Finland
cPanel Access Level
Root Administrator
Start with this:
du -h --max-depth=1 /
then you will find the directories taking most of the space, and you can check them like:
du -h --max-depth=1 /usr