determining disk hog

Top Pagina
Bijlagen:
Bericht als e-mail
+ (text/plain)
Delete this message
Reply to this message
Auteur: Jeremy C. Reed
Datum:  
Onderwerp: determining disk hog
On 4 Nov 2003, Jim wrote:

> I have a 23 gig partition and I am not sure what is consuming the disk I
> have about 3 gigs free. I know that there is about 10 gigs of data that
> I know of otherwise I am not sure what is consuming it.


I like to use find.

find / -size +5000

> Are there any system files like logfiles etc that can be deleted that
> can get very big?


Usually under /var/log. Usually the system will rotate automatically.

> How can I tell how much space is take up by the one database I have
> which is specific to squid logs; it is a mysql database.


Look under /var/lib/mysql or /var/mysql or where your mysql databases are
located.

Jeremy C. Reed
http://bsd.reedmedia.net/