[root@cacti ~]# ll dell-pediags-linux-2.8.0.398-A01.tar.gz
-rw-r--r--. 1 root root 11559976 Apr 12 2007 dell-pediags-linux-2.8.0.398-A01.tar.gz
[root@cacti ~]# tar xf dell-pediags-linux-2.8.0.398-A01.tar.gz
cd pediags/
[root@cacti pediags]# ./install.sh
Do you agree to the above license terms? (‘y‘ for yes | ‘Enter‘ to exit): y
[root@cacti bin]# ./pediags --show all
./pediags: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
问题原因和解决办法:
其实这个问题就是你64位的操作系统没有32位的类库
Linux的有些软件需要32位运行库才能运行,如Dr.com客户端等
yum在线安装: sudo
或者: sudo yum install ia32-libs.i686
ubuntu下: sudo apt-get install ia32-libs
采用yum安装解决:
yum install xulrunner.i686 -y
./pediags --show all 列出可供检测的设备
[root@cacti bin]# ./pediags --show all
The available device class(es) are:
Command : Description
cddvd : Runs CDDVD diagnostics.
floppy : Runs Floppy diagnostics.
memory : Runs Memory diagnostics.
modem : Runs Modem diagnostics.
network : Runs Network diagnostics.
rac : Runs RAC diagnostics.
serialport : Runs Serial Port diagnostics.
raidctrl : Runs RAID device diagnostics.
idedevdiag : Runs diagnostics for IDE disk and tape devices.
sasdevdiag : Runs diagnostics for SAS controller and attached devices.
scsidevdiag : Runs diagnostics for SCSI controller and attached devices.
usbctrl : Runs diagnostics for USB Root Hubs.
[root@cacti opt]# cd /opt/dell/pediags/oldiags/bin
对内存的检测:
[root@cacti bin]# ./pediags memory --run quicktest=true
...
Device Name : System Memory
Description : Memory device(s) installed in the system
Device Location : Memory
Test Name : Status Test
Description : Reports the health status of system memory by reading and interpreting Hardware Log events. See the online help of Memory Diagnostics for more information.
Passes : 1
Result : passed
Start Time : Fri Jan 26 22:40:52 2018
Completion Time : Fri Jan 26 22:40:52 2018
Result Event : The test operation completed successfully. No errors found.
对网卡的检测:[root@cacti ~]# ./pediags raidctrl --run quicktest=true
参考文档:
https://wenku.baidu.com/view/50f9142a2f60ddccda38a0b7.html
http://blog.51cto.com/imysql/1879731
原文:http://blog.51cto.com/wujianwei/2065669