disk space

General support questions
Post Reply
AMYK
Posts: 6
Joined: 2018/06/13 18:01:42

disk space

Post by AMYK » 2018/06/21 21:58:46

Local disk space 72.99 GB used, 73.20 GB total

After trying to update the forums on the site. The whole server overloaded from Ram and Virtual memory. Now the / (Root filesystem) are using 99%.

How I can loacte the folder or the file who took all this space because i have been trying everything.

Thanks

schadfield
Posts: 14
Joined: 2014/12/21 01:03:40

Re: disk space

Post by schadfield » 2018/06/22 05:01:57

I like "ncdu" for jobs like this.

User avatar
avij
Forum Moderator
Posts: 2621
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: disk space

Post by avij » 2018/06/22 05:31:01

As root: du -x / | sort -rn | head -20

MartinR
Posts: 329
Joined: 2015/05/11 07:53:27
Location: UK

Re: disk space

Post by MartinR » 2018/06/22 09:25:55

If you can abide graphics there is Baobab which is part of the gnome-utils package. Mine sits under Applications>System Tools>Disk Usage Analyser.

User avatar
TrevorH
Forum Moderator
Posts: 23213
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: disk space

Post by TrevorH » 2018/06/22 13:32:34

du -d 1 / then repeat for the directory showing the most space, keep repeating until you drill down to the culprit.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply