Disk space
Hello everyone,
What the command to view which file(s) is taking all he space? My ubunto server is @ 99%, and the df command is not the specific. I appreciate any "related" input. Thank you
What the command to view which file(s) is taking all he space? My ubunto server is @ 99%, and the df command is not the specific. I appreciate any "related" input. Thank you
Comments
-
dynamik Banned Posts: 12,312 ■■■■■■■■■□
find / -type f -size +10000k
Change 10000k to whatever size you want to look for. -
Grynder Member Posts: 106Another way of would be to narrow it down to the directory using
du -ch /directoryname | grep total
go through the likely culprits first var, home, tmp
and then narrow it down further -
Silver Bullet Member Posts: 676 ■■■□□□□□□□I think you will get your results a little quicker with dynamiks suggestion and if you want to see the size of each file as the find command locates those larger files, then you can append "-exec du -h {} \;" to his suggestion.
So, the command would look like so.find / -type f -size +10000k -exec du -h {} \;