Smart Monitoring Tools: smartctl
The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built into most modern ATA and SCSI hard disks. In many cases, these utilities will provide advanced warning of disk degradation and failure.
Smartmontools is originally derived from the Linux smartsuite package, and includes support for ATA/ATAPI-3 to -7 disks and SCSI disk and tape devices. It should run on any modern Darwin (Mac OSX), Linux, FreeBSD, NetBSD, OpenBSD, Solaris, OS/2, eComStation or Windows system. Alternatively, it can also be run from one of the bootable CDs or floppies containing smartmontools.
[ http://smartmontools.sourceforge.net/ ]
Some common information gathering function with smartctl
smartctl -i /dev/hda
smartctl -Hc /dev/hda
smartctl -A /dev/hda
To see a more complete list of functions, check out the man page: http://smartmontools.sourceforge.net/man/smartctl.8.html



