Re: Finding cruft

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
To: Main PLUG discussion list
Subject: Re: Finding cruft
Am 29. Oct, 2013 schwätzte Dazed_75 so:

moin moin,

> I could not sleep so I got back up to check this out. Turns out that
> /usr/lib is5.1 GB and /usr/share is 3.9 GB. Nothing else is very big.
> Guess I need to uninstall some things or resize the partition.


You could also move /usr/share to your home partition and symlink it back.
/usr/share is designed to be shared resource, so moving it elsewhere is
harmless as long as you put the symlink in.

ciao,

der.hans

> On Mon, Oct 28, 2013 at 10:50 PM, der.hans <> wrote:
>
>> Am 28. Oct, 2013 schwätzte Dazed_75 so:
>>
>> moin moin,
>>
>>
>> On one of my machines I have two partitions for Ubuntu. They are mounted
>>> as / and /home. I am getting a message saying the root filesystem is
>>> nearly full. When I run df -h, it shows me that /dev/sda5 is mounted as /
>>> and had 13.5 GB of 14 GB used. After I cleaned up some old kernels,
>>> unused
>>> packages and a couple of other thing, it showed something like 11.5 GB of
>>> 14 GB used.
>>>
>>> My question is: What is the best way to find what else is overcrowding /?
>>> In other words to do something like run du but restrict it to /dev/sda5.
>>>
>>> Sorry, I am on a Windows system ATM.
>>>
>>
>> Try 'du -sh /root /lib* /usr /var /tmp' is a good start. /root should
>> be small, but can pick up cruft. In your case probably not since it's a
>> self-adminned system using sudo :). Normally I would also include /boot,
>> but if you removed old kernel packages that should be rather small.
>>
>> Most likely you'll be cleaning out /tmp if you don't boot very often or
>> something in /var.
>>
>> ciao,
>>
>> der.hans
>> --
>> #  http://www.LuftHans.com/        http://www.LuftHans.com/**Classes/<http://www.LuftHans.com/Classes/>
>> #  If you don't think for yourself, others will think for you --
>> #  to their advantage.  -- Harold Gordon
>> ---------------------------------------------------
>> PLUG-discuss mailing list - 
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss

>>
>
>
>
>


-- 
#  http://www.LuftHans.com/        http://www.LuftHans.com/Classes/
#  Eternal vigilance is the price of liberty. -- Thomas Jefferson
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss