
How to query the hard disk usage time of various distribution Linux systems
How to query the hard disk usage time of various distribution Linux systems
1
2
3
4
5
6
7
8
9
#debian ,ubuntu
Apt-get install smartmontools
#CentOS ,RHEL
Yum install smartmontools
Smartctl -a /dev/sda
#multiple hard drives, please change a, b or other drive letter
#Display details of the hard disk
Smartctl -a /dev/sda |egrep 'Load_Cycle_Count|Power_On_Hours|Temperature_Celsius'
# only shows the usage time of the hard disk, that is, the power-on time
💘 相关文章
- how to find out the ssh port of the cpanel host
- how to do install LibXml2 , LibXslt for centos 7
- How to apply for a free ipv6 address
- Method to cancel ssh key password
- 100 Things to Do Between Couples
- Solution to garbled laptop keyboard
- Seek the full name of this movie
- Change the user's home directory for centos
- How can to add cron on QNAP NAS
- Tutorial to sync files to backblaze using rclone