cache logs

2007-01-22 Thread Helen . Nanong
I am running  FreeBSD 4.4 and currently have the following displayed as 
output from the command df


FileSystem 1K blocksUsed  Available Capacity Mounted 
on
/dev/ad0s1a63503   63214  -4791108% /


In issuing the following command: du / | sort -n the following 5 files are 
listed as biggest in size

/
/usr
/usr/local
/usr/local/squid
/usr/local/squid/cache

I would like some assistance as to how to go about removing/clearing the 
files, in this case I assume the cache logs would have to be removed to 
clear up the space in /.

Any assistance on this will be appreciated.


Helen Nanong
Systems Administrator
PNG Ports Corporation Limited
P.O Box 671
Port Moresby

Phone: 321 1400 (Switch) 308 4202 (Direct)
Fax: 321 1546
Email:  [EMAIL PROTECTED]

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.
If you have received this e-mail in error please notify the
originator of the message. This footer also confirms that this
e-mail message has been scanned for the presence of computer viruses.

Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of PNG Harbours Limited.

Scanning of this message and addition of this footer is performed
by SurfControl E-mail Filter software in conjunction with 
virus detection software.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cache logs

2007-01-22 Thread Chuck Swiger

On Jan 22, 2007, at 5:43 PM, [EMAIL PROTECTED] wrote:
I am running  FreeBSD 4.4 and currently have the following  
displayed as

output from the command df


FileSystem 1K blocksUsed  Available Capacity  
Mounted

on
/dev/ad0s1a63503   63214  -4791 
108% /



In issuing the following command: du / | sort -n the following 5  
files are

listed as biggest in size


It's almost certain that you've got more partitions on that machine,  
and that the files under /usr are on another partition then the root  
partition.  Try using du -x / to only consider files on the root  
partition without crossing filesystem mountpoints


--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]