You could use a find command and search for large files but that won’t help if there are many small files in a directory.
You can use du and pipe it into sort -n du | sort -n | tail -1000 | more that will give you the 1000 LARGEST directories. You can go from there.... Alex Kindly consider the environment before printing this e-mail. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:asterisk-users- > [EMAIL PROTECTED] On Behalf Of Mr surfit > Sent: Saturday, September 27, 2008 6:58 AM > To: asterisk-users@lists.digium.com > Subject: [asterisk-users] running out of disk space > > I am a very junior Asterisk user, and it has been some time since I > have used linux....Now that I got that out of my way I was curious if > someone could point me in the right direction to find out how to clean > up my asterisk server. The hard drive has 150 gigs on it and it only > has 200 mb free. I am cleaning out the /var/logs just to keep the > system running, but I need to find out if asterisk is dumping voice > messages somewhere that should have been deleted, or some other issue > that might be causing this space to be used up??? Any thoughts??? > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2008 - September 22 - 25 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users