Finding cruft

Dazed_75 lthielster at gmail.com
Tue Oct 29 01:59:06 MST 2013


Thanks Hans,

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.


On Mon, Oct 28, 2013 at 10:50 PM, der.hans <PLUGd at lufthans.com> 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 - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>



-- 
Dazed_75 a.k.a. Larry

Please protect my address like I protect yours. When sending messages to
multiple recipients, use the BCC: (Blind carbon copy). Remove addresses
from a forwarded message body before clicking Send.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20131029/0f1d5c03/attachment.html>


More information about the PLUG-discuss mailing list