Sign In

    Enjoy FOSSwire's content? Have it delivered! Subscribe

    Filelight - a KDE disk usage tool

    Due to popular demand, and just because it's a nice KDE application that does a similar job as what I covered last time, I'm now going to show you Filelight.

    Filelight bills itself as a program that "creates an interactive map of concentric segmented-rings that helps visualise disk usage on your computer". In essence, it's a graphical program that helps you look at and understand how much space different files and directories are taking up on your hard drive.

    Once it's installed (it is in most distributions' repositories) and launched, it shows you a brief view of all the different devices on your system. This can be a little confusing initially, because as well as showing the physical hard drive devices and other storage devices on your system, it shows you meta-filesystems like udev and the like.

    Filelight first run screenshot

    Once you've got out of that first view and started a scan, however, things start to be a bit more meaningful and less confusing. You can click any of the devices on that first screen to scan them, so in this example, I click /dev/sda5 (my Linux root partition) and / is then scanned.

    Filelight root scan screenshot

    Each directory is shown as a segment of the ring, with directories closest to the root of the file system closer to the middle of the circle. In the screenshot above, the large orange segment near the centre is /home, for example.

    Hovering over any segment shows you the directory it represents, its size and other information in a tooltip and also highlights its child directories with arrows to their segments. Click any segment to drill down into it and show its children in more detail if you need to.

    It does seem a little confusing at first, but if you stick with it and get used to the way it operates, it actually is a very easy way to visualise your disk usage. After performing a scan, which takes some time as with all tools of this nature, it is easy to throw your mouse over the diagram and quickly work out what's using what.

    Other than taking a little while to get used to and a slightly confusing start screen, Filelight is an equally useful tool for charting your disk usage graphically and is highly recommended for KDE users.


    Graphical disk usage with Baobab

    Tracking what is using what disk space on your computer can be a right pain. It's easy enough to look at how much space a particular file or folder is taking up, but working out where all your gigabytes and gigabytes of storage have gone overall can be difficult unless you know where to look.

    I've covered how to find out your disk usage from the command line using du previously, and now I'm going to take a look at a graphical application for GNOME, which serves the same purpose, but does it graphically and adds all sorts of additional features.

    It's called Baobab, and I'm looking here at the version that ships with Fedora 8's GNOME distribution, but you can install the package gnome-utils.

    The main screen looks something like this, and the toolbar across the top makes it easy to scan either your home directory or the whole filesystem and bring up a graph on the right and the tree view on the left that shows you the space being used.

    Baobab main screen

    You can also scan a folder of your choice, or even a remote filesystem.

    Through the graphical interface, you can easily drill down once the scan is complete to find what you're looking for and then perhaps delete that massive file that you don't need anymore. One of the downsides of this type of program is that it does require you to refresh the scanned directories once you've made a change to update the view. Depending on how much you've chosen to scan, the rescan can take some time, and will mean a lot of hard drive grinding.

    That's a complaint you could make about any sort of application that does this job, though, including the command line du client itself.

    Overall, Baobab (which is branded as Disk Usage Analyser in Fedora) is a very useful tool for working out how much disk space you are using and is a nice compliment to du if you want a graphical solution to the problem.