On Fri, 28 Mar 2003 12:35:47 +0800
"Aris  Santillan" <[EMAIL PROTECTED]> wrote:

> hi
> 
> how can i find which folder inside /var 
> have the largest file size? its weird that
> my /var is 4GB and now it 99% of its total usage
> since i dont have database / mail server... 
> just a basic setup of SMTP server. for use of mail
> scripts..
> 
> thanks
> 

try this

for i in /var/*
do
du -sh $i 
done

HTH


-- 
Jimmy Lim
Operation & Support Team Leader
Tricom 
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL 
PROTECTED]

Reply via email to