Mac OS X Tools Overview
Mac OS X comes with a number of utilities that can provide insight into the operation of the computer. Three major tools that are only for Mac OS X are Disk Utility, Console, and Terminal.
NOTE
Detailed training on Mac OS X is available from Apple Worldwide Customer Training. For more information, see http://train.apple.com .Disk Utility
Disk Utility for Mac OS X combines some of the features of Disk First Aid and Drive Setup, which are separate utilities that require Mac OS 9. Using Disk Utility, you can:
- Obtain information about a hard disk, including its format, capacity, and number of files
- Verify and repair any Mac OS Standard (HFS), Mac OS Extended (HFS Plus), or UFS formatted disk
- Erase the contents of a hard disk, CD-RW disc, or DVD-RW disc
- Partition a hard disk
- Set up a Redundant Array of Independent Disks (RAID)
- Create disc image files, such as from hard disks or optical discs
- Burn (write) disc image files to optical discs
Disk Utility is installed with Mac OS X in the Utilities folder, within the Application folder. To launch Disk Utility, double-click its icon. By default, Disk Utility displays the startup disk at the top of the list on the left, with additional mounted hard disks, optical discs, and disk images below.[View full size image]

Information
For information on storage devices attached to the Mac, select the drive and click the Info icon in the toolbar.

First Aid
Just because Disk Utility can properly locate and list a disk does not mean that all is well with that disk. It's a good idea to periodically perform basic disk repairs, so click the First Aid tab. As its name implies, First Aid can repair only minor disk damage.[View full size image]

Erase, Partition, and RAID
The remaining three tabs in Disk Utility do not have any troubleshooting features, so they are discussed only briefly to familiarize you with their overall functions.The Erase tab is useful if you've tried everything you can to repair a disk and it's simply not recoverable. In this case, you can start over from scratch by reformatting the disk. All data is lost when you erase, so use this as a last resort only. Erasing a disk is also a good idea before replacing it, to ensure that sensitive data is not inadvertently passed on to the next owner of the drive. Mac OS 9 users can erase disks in the Drive Setup utility.The Partition tab enables you to divide a large hard disk into smaller logical volumes, each of which appears on the Finder desktop with its own name. Novice users often are confused when presented with multiple volumes, so use partitions only when necessary to satisfy a particular need. Partitioning a hard disk, or removing partitions from a hard disk (so that you can treat it as a single volume again) both cause all data to be lost, so don't partition a drive with out giving it serious forethought. Mac OS 9 users can partition disks in the Drive Setup utility.The RAID tab enables you to logically combine multiple drives into a single volume, creating what is known as a RAID. Whereas partitioning makes one drive seem like many, creating a RAID makes many drives appear as one. The primary benefit is either data redundancy, or much faster performance because the burden of reading/writing is spread over multiple drives. Mac OS 9 users cannot create RAIDs in the Drive Setup utility.
Console
Console is installed with Mac OS X in the Utilities folder, within the Application folder. Double-click its icon to launch Console, which immediately opens a window displaying the Macintosh computer's log files.[View full size image]

- More detailed information than what you see in error messages
- Informative messages that are not displayed anywhere else
- Progress messages
- Messages that might be useful to a developer or technician assisting you with an issue
Console Exercise
1. | Launch Console. |
2. | Click the Logs icon in the upper left, then double-click system.log. Note the date and time of the last entry (if one exists). |
3. | Choose System Preferences from the Apple menu. |
4. | If necessary, move the System Preferences window so that you can see the Console window. |
5. | In the System Preferences window, click Network. Choose Built-in Ethernet from the Show pop-up menu, choose Using BootP from the Configure IPv4 pop-up menu, then click Apply Now. |
6. | Look at the Console window. You should see some new messages. |
The first part of the message gives you the date and timestamp. The next part names the owner of the process. The next part lists the process IDs and then the reason for the error. When no error occurs in the GUI and you cannot determine why a network application has stopped working, Console's error messages might help direct your probing.
Terminal
Terminal is installed with Mac OS X in the Utilities folder, within the Application folder. Double-click its icon to launch Terminal, which immediately opens a window displaying a command-line interface.
