[Linux VPS教程]Linux查看硬盘使用时间

查看硬盘通电时间,限独服使用,VPS木用。

yum install smartmontools
smartctl -A /dev/sda

看9 Power_On_Hours 最后一排结果,单位为小时。


发表回复