Tag Archives: disk usage

Mac OS X: Hunt Hard Drive Disk Space Hogs with Disk Inventory X Software & Sites 01 MAR 2016

Software development tools are often quite large and clunky, meaning that software developers often face the prospect of running out of hard drive disk space on their work machines.

I’m particularly fond of applications that use “treemaps” to visualize disk space usage, and have in the past mentioned how great Uderzo Software’s SpaceSniffer works when trying to figure out where and what to delete on a Windows machine. (If you are on Linux, then either KDirStat or QDirStat will do the trick!)

disk inventory x

Having to now publish Appcelerator apps to the Apple App Store for use on an iPad, I’ve been handed a MacBook Air (pretty little thing, but can’t say I’m a fan of the interface), and almost instantaneously ran into a space issue triggered by my installing of some development tools.

Naturally, completely new to the Apple environment, I had no idea where to even start looking for the most likely space hogging culprits!

Pleasingly, following a little time spent with good friend Mr. Google, I stumbled across Disk Inventory X, which bills itself as a disk usage utility for Mac OS X 10.3 (and later) and which uses treemaps to show the sizes of files and folders – in other words, exactly what I was looking for!

I downloaded and ran the software, and wouldn’t you know it – turns out that Android SDK had already pulled down more than 30GB of SDK related files.

Sigh, at least I now know where to start chopping…

Related Link: Disk Inventory X

How to Determine Windows Disk Usage Software & Sites 31 JUL 2014

My work laptop kept pointing out to me that the free space on the primary C:\ drive was getting ridiculously low, meaning of course that I needed to step in and delete some files. However, in order to do this effectively, one of course needs a better picture – enter the art of windows disk usage analysis.

There are of course a myriad of solutions out there designed to do the job, but seeing as this was something that I only do once in a blue moon, I would of course prefer a free application. Enter Uderzo Software’s SpaceSniffer:

“SpaceSniffer is a freeWare (donations are welcome) and portable tool application that lets you understand how folders and files are structured on your disks. By using a Treemap visualization layout, you have immediate perception of where big folders and files are placed on your devices.”

Treemap is a great way of quickly spotting the largest folders (they are literally visually the largest panes in the view), and because you have the Windows Context menu available to you, you can simply hover over the largest pane, and jump straight into them to start lopping away.

I played around with a few others alternatives, including Scanner which uses a sunburst chart to display the usage of your hard disk, but I have to say, SpaceSniffer was by far the least hassle, smallest footprint and quickest to achieve what I needed done option.

Definitely worth noting here on the blog for future reference then in other words!

windows disk usage spacesniffer 1.1.4 screenshot

Related Link: http://www.uderzo.it/main_products/space_sniffer/

Ubuntu Terminal: How Much Disk Space do I have Left? CodeUnit 19 AUG 2011

To see how much disk space you have left on your Ubuntu linux desktop or server via the terminal is made easy thanks to the standard df command that comes bundled in most Linux distros.

The most default way to use this is:

df -hT

where the h switch returns the size in user readable units like GBs or MBs, while the T switch prints out the filesystem type.


Ubuntu: Get the Size of a Directory via the Terminal CodeUnit 29 JUL 2011

When using the terminal to navigate your way through your Ubuntu or any other Linux distro, it is actually pretty easy to quickly see how big a particular directory or folder is in terms of size.

The command to use is du, short for Disk Usage. It’s main purpose is to gather and summarize how much of your disk space is being used up by either files or directories in the Linux system.

Basic usage (with the -h switch to report back the size in easy to understand user friendly units) is:

du -h /home/craiglotter

This will recursively list all folders and their respective sizes as well as the total size of the selected folder in the appropriate size unit.

Adding the -s for summarize switch will return only the total file size for the selected directory (this is still recursive in case you were wondering).

du -sh /home/craiglotter

If you want the size for all files in the current directory also displayed, add an asterisk to your query. Similarly, if you want only files of a specific type listed with their respective sizes, modify the asterisk with the desired file extension.

In practice:

du -sh /home/craiglotter *


du -sh /home/craiglotter *.txt