1. CPU info
[root@centos ~]# cat /proc/cpuinfo
[root@centos ~]# cat /proc/cpuinfo |grep processor |wc -l
#
[root@station12 /mnt]# uname -m
i686
#
# 32 bit CPU's result
#
[root@station12 /mnt]# getconf LONG_BIT
32
[root@station12 /mnt]# getconf WORD_BIT
32
[root@station12 /mnt]# arch
i686
or file /sbin/init
#
#
# 64 bit CPU's result
#
[root@station12 /mnt]# getconf LONG_BIT
64
[root@station12 /mnt]# getconf WORD_BIT
32
[root@station12 /mnt]# arch
x86_64
#
1.1 Display or change ethernet card settings
[root@centos ~]# ethtool -i eth0
driver: r8169
version: 2.3LK-NAPI
firmware-version:
bus-info: 0000:01:00.0
[root@centos ~]# gnome-system-monitor
[root@centos ~]# uname -m
2. RAM info
[root@centos ~]# free -m
[root@centos ~]# free -m |grep Mem |awk '{print $2}'
[root@centos ~]# cat /proc/meminfo
3. PCI info
[root@centos ~]# lspci |more
4. Hard disk capacity and speed test
[root@centos ~]# fdisk -l |more
[root@centos ~]# hdparm -Tt /dev/sda
5. DMI table decoder
[root@centos ~]# dmidecode |more
(dmidecode is a tool for dumping a computer’s DMI(some say SMBIOS)table contentsin a human-readable format)
6. Visual effects test
[root@centos ~]# glxgears (Totem Movie Player)
[root@centos ~]# glxinfo | grep rendering (OpenGL)
[root@centos ~]# glxgears -info (print out GL implementation information before running the demo)
PS:direct rendering: No
[root@centos ~]# lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GS] (rev a1) listing ==> Vendor:nVidia Type:geforce 7600
Download the modules:
7. Audio test
[root@centos ~]# sytem-config-soundcard
[root@centos ~]# hal-device-manager (LiveCD)
PS: hwbrowser /
[root@centos ~]# for num in $(seq 1 254);do ping -c1 -w1 192.168.0.$num;echo -e '\n###################\n';done >> /var/log/pinghost
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Architecture
#
[root@station12 /mnt]# uname -m
i686
#
# 32 bit CPU's result
#
[root@station12 /mnt]# getconf LONG_BIT
32
[root@station12 /mnt]# getconf WORD_BIT
32
[root@station12 /mnt]# arch
i686
#
#
# 64 bit CPU's result
#
[root@station12 /mnt]# getconf LONG_BIT
64
[root@station12 /mnt]# getconf WORD_BIT
32
[root@station12 /mnt]# arch
x86_64
#