Untitled Document

Options for checking free hard-drive space in OS X

by Nadeer on 2013-08-31 at 10:20:15


 When using your Mac, maintaining a small amount of free drive space is required to keep your system running optimally. While nothing stops you from adding files to your drive until it can hold no more, once you start encroaching on the last ~10GB-20GB of space, the system will not be able to manage its virtual memory footprint as easily, resulting in slower performance. Additionally, even though OS X manages file fragmentation for conventional hard drives well by keeping 20MB chunks of data in contiguous blocks, this feature requires free space to work, and may suffer if you are limited on space.

Unfortunately it is quite easy to fill your hard drive. Even everyday tasks like importing photos and videos from cameras, or downloading movies and TV shows from iTunes can result in massive data storage. Without keeping tabs on how much space you have available for such content, you may quickly fill up your boot drive, especially if it is relatively small (such as the 64GB drives that came with MacBook Air systems).

For example, movies downloaded from iTunes may be 1GB-2GB in size, so purchasing 10 of them may use 10GB-20GB of space. Additionally, applications you install may take a number of gigabytes as well. It is also not uncommon for collections of personal photos and videos to be massive, given the ever-increasing number of megapixels being crammed into smartphone cameras these days. This is especially true if you save each and every photo and video you take.

Disk usage in About This Mac

Clicking the More Info button in the About This Mac box will give you an overview of the hard-drive space usage.

To keep your system from running out of space, the easiest thing to do is simply monitor your hard drive; however, Apple keeps this detail relatively hidden from you with the default configuration of OS X. Even so, there are options you can use to keep an eye on the free space available in your system.

The first is to use the System Information utility, which can be accessed by choosing "About this Mac " from the Apple menu, and then clicking More Info. In the panel that appears, you can click the Storage section to see a calculation of the free space and types of files on any locally mounted volume.

While this offers a user-friendly graphic of your drive's space, keep in mind that the sizes reported are based on the system's Spotlight index. This means that if there is an indexing problem, it may show incorrect sizes in the About this Mac window.

Finder status menu in OS X showing free disk space

The Finder's Status bar will show you an ongoing view of the free disk space.

You can always force OS X to reindex the drive to clear such problems, but this can be time-consuming. Therefore, if you need to check your drive's space used, more appropriate tools to use are Disk Utility and the Finder's Information window, both of which will show you the exact amount of storage used on your drive. Apple makes these tools convenient, but they will require you to either launch an application, or invoke the information window specifically using the contextual menu or the Command-i hot key.

If you wish to have a more readily available view of the free space on your system, then instead of using tools and information windows that require a few steps to invoke, simply enable the Finder's status bar, which will appear below each Finder window and will display not only the number of files in the current folder, but the amount of free space remaining on the drive. This feature is great for giving you an ongoing glimpse of your drive's status, and can easily be enabled by pressing Command-/ (forward slash), or by choosing the option in the View menu.

Disk usage commands in OS X

These commands (outlined in blue) will each show the free disk space, located in their output indicated by the arrows (click for larger view).

(Credit: Screenshot by Topher Kessler/CNET)

Finally, if you are a Terminal user, you have several commands at your fingertips that can give you disk usage information. The first is the classic "df" command, which will output a small table of details about your drive, including the number of blocks, those used, and those available. You can output this in a more readable format (gigabytes, megabytes, and kilobytes), by using the "-H" flag in the following way:

df -H

In addition to "df," you can use Apple's provided "diskutil" command, which is a command-line version of Apple's Disk Utility program. This command offers the ability to look up disk information, which you can do for your boot drive by running the following command:

diskutil info /

One of the lines of output from this command will be "Volume Free Space:" which will show in bytes how much space is free. To make this easier to read, you can filter the output to only show free space, by piping it through "grep" in the following way:



20
Oct

mDubai: Your complete gateway to Dubai... App launch at Gitex

by Nadeer

Under slogan 'Together for your Happiness' Dubai Smart Government (DSG) to unveil smart app bouquet


Under the slogan ‘Together for your Happiness’, Dubai Smart Government (DSG) is participating with


22
Sep

Oracle preps NetBeans for a mobile Web future

by Nadeer

 Now NetBeans programmers can work on HTML5 code from directly within their Java and PHP projects

Although originally built to develop enterprise Java apps, the NetBeans IDE (integrated development


16
Sep

Taiwan Chip Industry Powers the Tech World, but Struggles for

by Nadeer

 Tien Wu, chief operating officer of Advanced Semiconductor Engineering, has a problem: the brightest young people in Taiwan do not want to work in the island’s signature business, chip making.

“All


08
Sep

How to install Android on your PC

by Nadeer

Windows 8’s bold grab for tablet relevance may snatch headlines, but it isn’t the only operating system looking to extend its established supremacy over a whole new class of devices.


07
Sep

How to solve the 10 most common tech support problems

by Nadeer

 Whether you’re dealing with your dad’s decade-old computer or your own custom-built gaming rig, troubleshooting PC problems is a part of everyday life. Before you make that $50 support call,


05
Sep

6 Benefits of Cloud Computing

by Nadeer

The cloud, cloud computing, SaaS…like it or not, we hear these terms mentioned incessantly in the technology and business world.  And for a good reason – the benefits of


03
Sep

Microsoft to buy Nokia phones unit

by Nadeer

Microsoft's phone operating system has been gaining global market share

Microsoft has agreed a deal to buy Nokia's mobile-phone business for 5.4bn euro ($7.2bn; £4.6bn).

Nokia will


03
Sep

Are computer chips on the verge of a quantum leap?

by Nadeer

We swipe, we tap, we scroll and click, but rarely do we pause to think about what goes on in the maze of electronics beneath our fingertips.

02
Sep

Windows 8 gains ground among the OS ranks

by Nadeer

The latest version of Windows takes a bite out of the desktop operating system market with a 7.4 percent share of Web traffic in August,


01
Sep

Google Chromecast review

by Nizar

 A new device from Google makes it easy to stream video from several popular services to a high-definition TV. Chromecast is tiny enough to dangle from a keychain when not


01
Sep

Gamers report big problems with SimCity for Mac

by Nizar

 Owners of Apple computers are reporting big problems with the Mac version of SimCity.

Many who bought the game, released on 29 August, said it did not work correctly on


29
Aug

Can you survive on 4G alone?

by Nizar

With the UK set to become the third largest 4G market in Europe by the end of 2014, is there any need for fixed-line services any more? Sophie Curtis investigates.


26
Aug

Microsoft starts trial in Limpopo to spread web access

by Nadeer

HAVING failed to bring affordable internet to the continent’s largest economy in almost 20 years of democracy, the government is giving Microsoft a shot.The software maker


22
Aug

Dual iPhones expected at Apple's September launch

by Nizar

AUSTRALIANS could feed their technology addiction with two new iPhones in less than a month from now, if rumours are to be believed, including one budget model and another with