what to delete in /usr
David Thornton
david-FkEgs2FKm2NvBvnq28/GKQ at public.gmane.org
Tue Feb 7 02:21:55 UTC 2006
caitken-Bm8TULXj0r/3fQ9qLvQP4Q at public.gmane.org wrote:
> Sometimes, now, when I open OpenOffice it hangs my business production
> computer. I checked for any partition that may be full. I found this:
> [chris at a800 chris]$ df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/hda1 1004024 254928 698092 27% /
> /dev/hda3 2016044 1468792 444840 77% /home
> none 127696 0 127696 0% /dev/shm
> /dev/hda2 2949060 2698768 100488 97% /usr
> [chris at a800 chris]$
> Clearly I need to lighten /usr 's load. What can I delete? The only
> programs I really use on the computer are Mozilla and OpenOffice but I
> don't want to delete programs that I don't know what they do or that
> other programs may rely on...
> Chris
> --
> The Toronto Linux Users Group. Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
Oh and you could just use find to find large files that might give you
good bang for your buck.
find /usr -size +1000k
You might also use lsof to find files that are deleted but that are
still open by processes.
lsof | grep -i deleted
David
--
Let one walk alone,
committing no sin with few wishes,
like an elephant in the forest.
-- Ghost in the shell 2: Innocence
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list