1.查看磁盤型號
工具:smartmontools
#smartctl --help
#smartctl --all /dev/sda -d megarid,1 (第一塊磁盤的信息)
#smartctl --all /dev/sda -d megarid,2(第二塊磁盤的信息)
依次為:廠商-型號-版本-磁盤空間
ps:注意smartctl工具的版本,最好用5.43以后的,之前的版本如果做raid了話會出錯。
注意源碼編譯安裝前需卸載之前的版本。
(下載地址:https://sourceforge.net/projects/smartmontools/files/smartmontools/)
2.內存信息
#dmidecode -t memory
3.網絡測試相關文檔
帶寬,延遲:
#https://www.cnblogs.com/pheye/p/7740326.html?from=timeline&isappinstalled=0
tcp連接斷開時間:
# https://blog.csdn.net/remotesupport/article/details/13019899?from=timeline&isappinstalled=0
4.查看硬raid級別
工具:megacli
下載地址:https://support.lenovo.com/us/zh/downloads/ds031558
#查raid卡詳細信息(包括生產商、電池信息及所支持的raid級別等等)
/opt/MegaRAID/MegaCli/MegaCli64 -LdPdInfo -aALL
注:普通RAID磁盤數據格式規范
(https://www.cnblogs.com/mysql-dba/p/7112339.html)
命令使用:
(http://blog.chinaunix.net/uid-25135004-id-3013882.html)
5. 查看軟raid信息
軟件raid:只能通過Linux系統本身來查看
#cat /proc/mdstat
可以看到raid級別,狀態等信息。