Chinaunix首页 | 论坛 | 博客
  • 博客访问: 716875
  • 博文数量: 235
  • 博客积分: 4309
  • 博客等级: 中校
  • 技术积分: 2325
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-17 11:25
个人简介

If you don\\\\\\\\\\\\\\\'t wanna do it, you find an EXCUSE; if you do, you\\\\\\\\\\\\\\\'ll find a WAY :-)

文章分类

全部博文(235)

文章存档

2014年(3)

2013年(2)

2012年(31)

2011年(199)

分类: Python/Ruby

2011-01-17 17:28:24

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
#
阅读(392) | 评论(0) | 转发(0) |
0

上一篇:Mplayer & SMplayer Tutorial

下一篇:~/.vimrc here

给主人留下些什么吧!~~