【資料整理】ハードウェア構成方法の表示
1378 ワード
【資料整理】ハードウェア構成方法の表示
linux
windows
raidカードの型番を表示するには:
LSI MegaRAIDツール:
http://www.lsi.com/support/Pages/download-results.aspx?keyword=megacli
ダウンロードして解凍した後、MegaCli-8.07.14-1をアップロードする.noarch.rpmをサーバにインストールします.
linux
: dmidecode -s system-product-name
CPU: dmidecode -s processor-version
: dmidecode -t memory |grep Size
: smartctl -i /dev/sda
cpu grep 'physical id' /proc/cpuinfo | sort -u
grep 'core id' /proc/cpuinfo | sort -u | wc -l
grep 'processor' /proc/cpuinfo | sort -u | wc -l
windows
: wmic baseboard
CPU: wmic cpu
: wmic memorychip
: wmic diskdrive
raidカードの型番を表示するには:
[root@test1 abc]# dmesg |grep -i raid
megaraid_sas 0000:03:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38
megaraid_sas 0000:03:00.0: setting latency timer to 64
megaraid_sas: Controller type: MR, Memory size is: 256MB
scsi0 : LSI SAS based MegaRAID driver
[root@test1 abc]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 02 Id: 00 Lun: 00
Vendor: DELL Model: PERC 6/i Adapter Rev: 1.22
Type: Direct-Access ANSI SCSI revision: 05
LSI MegaRAIDツール:
http://www.lsi.com/support/Pages/download-results.aspx?keyword=megacli
ダウンロードして解凍した後、MegaCli-8.07.14-1をアップロードする.noarch.rpmをサーバにインストールします.
raid
#/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -LAll -aALL
#/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -aAll