Chinaunix首页 | 论坛 | 博客
  • 博客访问: 348914
  • 博文数量: 222
  • 博客积分: 9349
  • 博客等级: 中将
  • 技术积分: 2135
  • 用 户 组: 普通用户
  • 注册时间: 2010-08-07 13:45
文章分类

全部博文(222)

文章存档

2010年(222)

分类: LINUX

2010-08-08 10:38:10

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
#
阅读(334) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~