Before you get really fired up about all these paths, I'll give you a
command that I use to see if / where the space is being used:

du -cks * | sort -rn | head -11

Run this from any "root" that you feel is using space, and it will show you
the top 10 "offenders" in that root. So in your case, you might try:

cd /var/cache ; du -cks * | sort -rn | head -11

An easy way to keep this handy is to add to your .profile or .bashrc the
command:

Alias ducks=' du -cks * | sort -rn | head -11'

This would change the above to

cd /var/cache ; ducks

Hope this will help.

--
Robert P. Nix          Mayo Foundation        .~.
RO-OE-5-55             200 First Street SW    /V\
507-284-0844           Rochester, MN 55905   /( )\
-----                                        ^^-^^
"In theory, theory and practice are the same, but
 in practice, theory and practice are different."



On 4/23/10 12:47 PM, "Peter E. Abresch Jr.   - at Pepco"
<peabre...@pepco.com> wrote:

> Thanks, I made the changes. I also notice the following in
> /var/cache/zmd/web/files/nu.novell.com/repo/$RCE:
>
> linuxd02:/var/cache/zmd/web/files/nu.novell.com/repo/$RCE # ls -l
> total 0
> drwxr-xr-x 3 root root 80 Apr 11 20:16 SLE10-SP1-Debuginfo-Updates
> drwxr-xr-x 3 root root 80 Apr 11 20:23 SLE10-SP2-Debuginfo-Updates
> drwxr-xr-x 3 root root 80 Apr 11 20:28 SLE10-SP3-Debuginfo-Online
> drwxr-xr-x 3 root root 80 Apr 11 20:28 SLE10-SP3-Debuginfo-Pool
> drwxr-xr-x 3 root root 80 Apr 11 20:27 SLE10-SP3-Debuginfo-Updates
> drwxr-xr-x 3 root root 80 Apr 11 20:08 SLES10-SP1-Online
> drwxr-xr-x 3 root root 80 Apr 11 20:11 SLES10-SP1-Updates
> drwxr-xr-x 3 root root 80 Apr 11 20:17 SLES10-SP2-Online
> drwxr-xr-x 3 root root 80 Apr 11 20:25 SLES10-SP2-Pool
> drwxr-xr-x 3 root root 80 Apr 11 20:18 SLES10-SP2-Updates
> drwxr-xr-x 3 root root 80 Mar  4 06:59 SLES10-SP3-Online
> drwxr-xr-x 3 root root 80 Apr 11 20:27 SLES10-SP3-Pool
> drwxr-xr-x 3 root root 80 Apr 11 20:25 SLES10-SP3-Updates
>
> Again, all these look like patches, I can I stop these and since we are
> SP3 everywhere, can I safely delete all the non-SP3 directories?
>
> Peter
>
>
>
> Mark Post <mp...@novell.com>
> Sent by: Linux on 390 Port <LINUX-390@vm.marist.edu>
> 04/23/2010 12:18 PM
> Please respond to
> Linux on 390 Port <LINUX-390@vm.marist.edu>
>
>
> To
> LINUX-390@vm.marist.edu
> cc
>
> Subject
> Re: /var/lib/zypp/cache/ is on my nerves
>
>
>
>
>
>
>>>> On 4/23/2010 at 12:06 PM, "Peter E. Abresch Jr.   - at Pepco"
> <peabre...@pepco.com> wrote:
>> cache-max-size-hard-limit  | False              | If true, never allow
> the
>> cache to grow past the maximum size
>> cache-max-size-in-mb       | 300                | The maximum size of
> the
>> cache (in mb)
>> max-cache-age              | 30                 | The maximum number of
>> days to cache a file
>>
>> Is there any hope here?
>
> By changing these values you can limit how much space is taken up on your
> systems.  I'm not sure just how much you're going to be saving though.  On
> the system I checked, /var/lib/zypp/ is only taking up about 12MB. Another
> one is using 40MB.
>
> In any case, you can use "rug set-prefs" to change them, one preference at
> a time:
> rug set-prefs cache-max-size-hard-limit true
> rug set-prefs cache-max-size-in-mb 200
>
> and so on.
>
>
> Mark Post
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>
>
> This Email message and any attachment may contain information that is
> proprietary, legally privileged, confidential and/or subject to copyright
> belonging to Pepco Holdings, Inc. or its affiliates ("PHI").  This Email is
> intended solely for the use of the person(s) to which it is addressed.  If
> you are not an intended recipient, or the employee or agent responsible for
> delivery of this Email to the intended recipient(s), you are hereby notified
> that any dissemination, distribution or copying of this Email is strictly
> prohibited.  If you have received this message in error, please immediately
> notify the sender and permanently delete this Email and any copies.  PHI
> policies expressly prohibit employees from making defamatory or offensive
> statements and infringing any copyright or any other legal right by Email
> communication.  PHI will not accept any liability in respect of such
> communications.
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to