Linux中硬盘转速查看

凉白开 Linux命令1 31,8372字数 1928阅读6分25秒阅读模式

可以使用sg_vpd命令查看硬盘转速,sg_vpd命令是sg3_utils其中一个工具.

下载地址:http://sg.danny.cz/sg/sg3_utils.html文章源自运维生存时间-https://www.ttlsa.com/linux-command/get-disk-speed-on-linux/

VPD:Vital Product Data文章源自运维生存时间-https://www.ttlsa.com/linux-command/get-disk-speed-on-linux/

# sg_vpd /dev/sg8 –page=0×89
 ATA information VPD page:
 SAT Vendor identification: LSI
 SAT Product identification: LSI SATL
 SAT Product revision level: 0008
 ATA command IDENTIFY DEVICE response summary:
 model: ST31000340NS
 serial number: 9QJ4VPL1
 firmware revision: SN06
# sg_vpd /dev/sg8 –page=0xb1
 Block device characteristics VPD page (SBC):
 Nominal rotation rate: 7200 rpm
 Nominal form factor not reported
 # sg_vpd /dev/sg8 -e
 Standard VPD pages:
 ai 0×89 ATA information (SAT)
 aod 0×82 ASCII implemented operating definition (obsolete)
 adsn 0xb3 Automation device serial number (SSC)
 bl 0xb0 Block limits (SBC)
 bdc 0xb1 Block device characteristics (SBC)
 cfa 0x8c CFA profile information
 dc 0x8b Device constituents
 di 0×83 Device identification
 di_asis 0×83 Like ‘di’ but designators ordered as found
 di_lu 0×83 Device identification, lu only
 di_port 0×83 Device identification, target port only
 di_target 0×83 Device identification, target device only
 dtde 0xb4 Data transfer device element address (SSC)
 ei 0×86 Extended inquiry data
 iod 0×81 Implemented operating definition (obsolete)
 lbpv 0xb2 Logical block provisioning (SBC)
 mas 0xb1 Manufacturer assigned serial number (SSC)
 masa 0xb1 Manufacturer assigned serial number (ADC)
 mna 0×85 Management network addresses
 mpp 0×87 Mode page policy
 oi 0xb0 OSD information
 po 0x8a Power condition
 pslu 0×90 Protocol-specific logical unit information
 pspo 0×91 Protocol-specific port information
 ref 0xb3 Referrals (SBC)
 sad 0xb0 Sequential access device capabilities (SSC)
 sii 0×84 Software interface identification
 sn 0×80 Unit serial number
 sp 0×88 SCSI ports
 st 0xb1 Security token (OSD)
 sv 0×00 Supported VPD pages
 tas 0xb2 TapeAlert supported flags (SSC)
Vendor specific VPD pages:
 datc 0xc1,0 Date code (Seagate)
 devb 0xc3,0 Device behavior (Seagate)
 edid 0xc8,0 Extended device identification (RDAC)
 feat 0xc3,1 Feature Parameters (RDAC)
 firm 0xc0,0 Firmware numbers (Seagate)
 jump 0xc2,0 Jump setting (Seagate)
 sub 0xc4,0 Subsystem identifier (RDAC)
 sver 0xc2,1 Software version (RDAC)
 upr 0xc0,1 Unit path report (EMC)
 vac 0xc9,0 Volume access control (RDAC)

 文章源自运维生存时间-https://www.ttlsa.com/linux-command/get-disk-speed-on-linux/ 文章源自运维生存时间-https://www.ttlsa.com/linux-command/get-disk-speed-on-linux/

weinxin
我的微信
微信公众号
扫一扫关注运维生存时间公众号,获取最新技术文章~
凉白开
  • 本文由 发表于 26/11/2013 15:51:20
  • 转载请务必保留本文链接:https://www.ttlsa.com/linux-command/get-disk-speed-on-linux/
  • 转速
评论  1  访客  1
    • 匿名
      匿名 9

      asdsadas阿萨德撒

    评论已关闭!