环境下载
http://sg.danny.cz/sg/sg3_utils.html#__RefHeading___Toc611_3724309425
下载源码包:sg3_utils-1.42.tar.xz
编译安装
tar -zxvf sg3_utils-1.42.tar.xz
cd sg3_utils-1.42
./configure
make
make install
样例
sg_vpd -all /dev/sda0
结果
Block device characteristics VPD page (SBC):
Nominal rotation tate: 7200 rpm