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 apply for a free ipv6 address
- how to do install LibXml2 , LibXslt for centos 7
- 100 Things to Do Between Couples
- acme.sh The domain is not a cert name解决方法
- Openlitespeed /litespeed deny methods to access folders and files
- Change the user's home directory for centos
- Windows Mount iSCSI Hard Drive Record
- How to update the open source http3 server - openlitespeed
- 3 ways to implement domain name jump to www including https using 301