Disk space by filetype

Jason Shein jason-xgs8i/e9EeWTtA8H5PvdGCwD8/FfD2ys at public.gmane.org
Wed Apr 12 23:50:47 UTC 2006


On Wednesday 12 April 2006 19:11, Jason Spiro wrote:
> I often seem to fill up my hard drive to the max.
>
> I have been wondering if it is practical to write a script to use UPX
> to pack the binaries and shared libraries of seldom-used applications
> (those whose last access time is long ago.) Or perhaps even strip
> them, though that makes GDB backtraces upon crashes quite useless.
>
> But first, I wonder: Is there an easy way for me find out what
> proportion of my disk is made of what sorts of files?
>
> This would allow me to answer such questions as: What proportion of my
> disk do binaries and libraries take up anyway? Text files? (For
> example, my /var/lib/dpkg/info directory takes up 28MB. Nothing there
> is compressed. Makes you wonder if whole-disk compressed file systems
> are worth it...) Could I have hundreds of megabytes of .o files left
> over from compiling things?
>
> I'm sure I could hack something up in perl, but if there was a nice
> graphical tool it'd be even better. I couldn't find anything in
> Debian's apt repository or on freshmeat. xdiskusage and kdirstat do
> not do this measurement. gdmap colorizes by filetype but does not have
> the summary reporting functionality I am looking for.
>
> Any thoughts?
> Jason
> --

Not quite exactly what you are looking for, but Filelight is still great for 
determining where the disk space is being consumed.
http://www.kde-apps.org/content/show.php?content=9887

It is available through apt.
http://packages.debian.org/unstable/kde/filelight

-- 
Jason Shein
Director of Networking, Operations and Systems
Detached Networks
jason-xgs8i/e9EeWTtA8H5PvdGCwD8/FfD2ys at public.gmane.org
( 905 ) - 876 - 4158 Voice
( 905 ) - 876 - 5817 Mobile
http://www.detachednetworks.ca
On-Site Computer Services - Available 24/7

Earn your service for FREE! Ask about our referral program.
--
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