Forum Moderators: bakedjake

Message Too Old, No Replies

Server seams to have little free disk space

Cant quite work out what is using it all.

         

mack

3:20 am on Jul 11, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



One of my local servers is only used for mysql. I recently checked up on disk usage and got a bit of a shock...

Filesystem Size Used Avail Use% Mounted on
/dev/hda3 111G 92G 18G 83% /
/dev/hda1 23M 3.8M 17M 18% /boot
shmfs 503M 0 502M 0% /dev/shm

Acording to phpmyadmin the total mysql usage is 35gig. Is there any way to find out any other apps that might be eating into disk space.

Mack.

mcavic

4:48 am on Jul 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Starting from the root directory,

du -s * ¦ sort -n

Will show you the directories taking the most space. Then you can narrow down into /var, /home, etc.