服务器测试常用指令-分测试内容

1、服务器内存压力测试

(1)service ipmi start

(2)ipmitool lan print 1

(3)cd /home/stressapptest

(4)ipmitool sel list

(5)echo >/var/log/messages

(6)cat /var/log/messages

(7)./stressapptest -s 3600

(8)cat /var/log/messages >/home/message1.txt

(9)ipmitool sel list >/home/BMC1.txt

(10)dmesg >/home/dmesg1.txt

2、服务器网卡测试

(1)sh autotest.sh

(2)ethtool -i ethx

(3)service cpuspeed stop

(4)service cpuspeed start

(5)cd /etc/sysconfig/network-scripts

(6)vim ifcfg-xgbe3

(7)cat ifcfg-xgbe3

3、升级NVMe的FW

(1)fdisk -l

(2)mount /dev/sdc1 mnt

(3)cd /mnt

(4)cp -rf NVMe\ FW/ /home/

(5)cd /home

(6)cd /NVMe\ FW/

(7)rpm -ivh 文件名

(8)issdcm -drive_list

(9)cd /root/Desktop/

(10)issdcm -drive_index 0

(11)issdcm -drive_index 1

(12)init 0

(13)iostat -k 2

(14)lspci |grep nvme

(15)lspci |grep -i nvme

(16)lspci |grep -i memor

(17)lspci -s 86:00:00 -vvv

4、服务器NVMe设备热插拔测试

(1)echo 0 >power

(2)lspci |grep -i mass

(3)echo 1 >power

(4)dmesg |grep -i pciehp

(5)cd /sys/bus/pci/slots

你可能感兴趣的:(服务器测试常用指令-分测试内容)