Version: 1.0

Posted: 2007-05-30

Build Requirements: Xcode 2.2.1 or newer

Runtime Requirements: Mac OS X 10.4.0 or newer

View Source Code:

Download Sample (“SMARTQuery.zip”, 35.0K)
Download Sample (“SMARTQuery.dmg”, 92.0K)



Description

S.M.A.R.T. is a technology embedded in most modern ATA and Serial-ATA storage devices. It's purpose is to collect statistical information about the device while in operation and determine when it is approaching a failure. Often it is able to do this early enough to allow for the recovery of most or all of the data contained on that device.

This sample code demonstrates how to extract both the overall pass/fail result from a given device, but also how to access the raw vendor-specific data and thresholds used by the device in calculating this.

Document Revision History

Date Notes
2007-05-30Demonstration of how to access and use S.M.A.R.T. disk monitoring functionality

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.