How to monitor hard disk status in Ubuntu

Source: Internet
Author: User
Currently, most hard disks have SMART functions. SMART is short for SelfMonitoringAnalysisAndReportingTechnology. However, to enable the SMART function, you must enable it in the BIOS. After enabling it, you can use various SMART tools to check the hard disk status, there are also many SMART tools in Ubuntu, such as smartctl. You need to install the smartmontools package: $ sud.

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.linuxidc.com/Linux/2009-02/18508.htm

You can double-click the Deb package under GNOME or use the dpkg-I command to install the package. After installation, You can see "GSmartControl" under "application"> "System Tools ", after the disk is started, a list of recognized hard disks is displayed, as shown in:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.