Ubuntu14.04 view hard disk usage time

Source: Internet
Author: User
1. the Installation Method for smartmontoolsUbuntu14.04 is required: sudoapt-getinstallsmartmontools2. how to Use: Enter sudosmartctl-A/dev/sda1 on the terminal. If your hard disk is not sda1, replace it with another name and display the following information: smartctl6.22013-07-26r3841 [x86_64-linux-3.19.0-51-gen

1. Install smartmontools
Ubuntu14.04 installation method:
Sudo apt-get install smartmontools

2. Usage:
Enter sudo smartctl-A/dev/sda1 on the terminal

If your hard disk is not sda1, replace it with another name.

The following information is displayed:
Smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.19.0-51-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== Start of read smart data section ====
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID # ATTRIBUTE_NAME flag value worst thresh type updated WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 117 099 006 Pre-fail Always-141167620
3 Spin_Up_Time 0x0003 098 096 085 Pre-fail Always-0
4 Start_Stop_Count 0x0032 095 095 020 Old_age Always-5629
5 Reallocated_Sector_Ct 0x0033 100 036 Pre-fail Always-0
7 Seek_Error_Rate 0x000f 084 060 030 Pre-fail Always-9159719752
9 Power_On_Hours 0x0032 083 083 000 Old_age Always-15500
10 Spin_Retry_Count 0x0013 100 097 Pre-fail Always-0
12 Power_Cycle_Count 0x0032 096 037 020 Old_age Always-4982
184 End-to-End_Error 0x0032 100 099 Old_age Always-0
187 Reported_Uncorrect 0x0032 100 000 Old_age Always-0
188 Command_Timeout 0x0032 100 093 000 Old_age Always-2201
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always-0
190 Airflow_Temperature_Cel 0x0022 058 028 045 Old_age Always In_the_past 42 (69 213 44 21 0)
191 G-Sense_Error_Rate 0x0032 100 100 Old_age Always-430
192 Power-Off_Retract_Count 0x0032 100 100 Old_age Always-196
193 Load_Cycle_Count 0x0032 057 057 000 Old_age Always-86182
194 Temperature_Celsius 0x0022 042 072 000 Old_age Always-42 (0 5 0 0)
195 Hardware_ECC_Recovered 0x001a 047 039 000 Old_age Always-141167620
197 Current_Pending_Sector 0x0012 100 100 Old_age Always-0
198 Offline_Uncorrectable 0x0010 100 100 Old_age Offline-0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always-1
240 Head_Flying_Hours 0x0000 100 253 Old_age Offline-121109487828145
241 Total_LBAs_Written 0x0000 100 253 Old_age Offline-1597949744
242 Total_LBAs_Read 0x0000 100 253 Old_age Offline-2223667524
254 Free_Fall_Sensor 0x0032 100 100 Old_age Always-0

Power_On_Hours is the hard disk power supply time.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2016-03/129193.htm

Related Article

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.