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


20
Oct

Finland: Hacker illegally accessed 60,000 servers worldwide and used foreign

by Nadeer

Finland: A hacker has been arrested from Helsinki (capital and largest city of Finland) for a suspect in Illegal accessing of 60,000 servers worldwide.

Along with the servers, hacker


14
Oct

Vulnerability in Whatsapp allows decrypting user messages

by Nadeer

A serious vulnerability in WhatsApp allows anyone who is able to eavesdrop on WhatsApp connection to decrypt users' messages.

 Whatsapp, the mobile application for instant messaging platform has


03
Oct

Facebook, Cisco partner to power Wi-Fi check-in at stores

by Nadeer

 Restaurants, hotels, retailers, and public locations will be able to get Wi-Fi equipment from Cisco and a check-in experience from Facebook.

Facebook just "friended" Cisco Systems.

 

The two companies are partnering up


23
Sep

Hack apparently discovered for Apple's iPhone 5s fingerprint sensor, Touch

by Nadeer

A hack has apparently been discovered that acts as a work around for Apple's new fingerprint sensor, Touch ID on the iPhone 5s

A group of hackers, called the Chaos Computer


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


11
Sep

7 top changes in Apple's new iOS 7 operating system

by Nadeer

Apple is touting its latest mobile operating system as the "most significant" iOS update since the original iPhone.

"Downloading iOS 7 is like getting an all-new device," said Craig Federighi,


11
Sep

Apple unveils 2 new iPhones including cheaper model

by Nadeer

For the first time since introducing the device that changed cellphones forever, Apple will offer two distinct versions of the latest iPhones — a cheaper one made of


09
Sep

Facebook, Google and Twitter caught monitoring URLs in messages -

by Nizar

Large Internet firms including Facebook, Google and Twitter are monitoring some web links sent between their users, including those in private communications, a research firm has confirmed. Swiss security


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


04
Sep

Hackers Find Weaknesses in Car Computer Systems

by Nizar

As cars become more like PCs on wheels, what's to stop a hacker from taking over yours?

In recent demonstrations, hackers have shown they can slam a car's brakes at freeway