Article Title: How to monitor the hard disk status in Ubuntu. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Currently, most hard drives have SMART functions. SMART is short for Self Monitoring Analysis And Reporting Technology. To enable SMART functions, you must enable it in BIOS, after enabling the tool, you can use a variety of SMART tools to check the hard disk status. Of course, there are also a number of SMART tools in Ubuntu, such as smartctl. You need to install the smartmontools package:
$ Sudo apt-get install smartmontools
After the installation is complete, you can use the smartctl command to view the basic information of the hard disk:
$ Sudo smartctl? I/dev/sda // hda for IDE Hard Disk
The SMART basic information of the first SATA (or SCSI) hard disk will be returned, as shown below:
We can see whether the hard disk model, serial number, firmware version, and SMART functions are supported and enabled. Such use and interface is only plain text and readable, to obtain more information, more parameters are required. Therefore, someone writes a gnome gui application based on smartctl, called GSmartControl, this graphic tool can help us better obtain the hard disk SMART information.
GSmartControl has not been added to the Ubuntu source, we need to download the author's packaged Deb package: http://www.getdeb.net/app/GSmartControl
To install the Deb package, you can double-click it under GNOME or use the dpkg-I command to install the package. After installation, you can install the package in the "application"?> "GSmartControl" is displayed under "System Tools". After starting this interface, a list of recognized hard disks is displayed, as shown in:
[1] [2] Next page