标签:io os ar sp div on c linux ad
内存和swap:(也可以是:cat /proc/meminfo)
[root@192.168.1.100~]$ free -t
total used free shared buffers cached
Mem: 12295296 12206756 88540 0 1303848 4621700
-/+ buffers/cache: 6281208 6014088
Swap: 10482404 10692 10471712
Total: 22777700 12217448 10560252
硬盘:
[root@192.168.1.100~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xxx/p1 76G 24G 49G 33% /
/dev/xxx/p3 721G 671G 50G 94% /www
tmpfs 5.9G 0 5.9G 0% /dev/shm
主板:
[root@192.168.1.100~]$ lspci
00:00.0 Host bridge: Intel Corporation 5520 I/O Hub to ESI Port (rev 13)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13)
00:02.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 2 (rev 13)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13)
00:04.0 PCI bridge: Intel Corporation 5520/X58 I/O Hub PCI Express Root Port 4 (rev 13)
00:05.0 PCI bridge: Intel Corporation 5520/X58 I/O Hub PCI Express Root Port 5 (rev 13)
00:06.0 PCI bridge: Intel Corporation 5520/X58 I/O Hub PCI Express Root Port 6 (rev 13)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13)
00:08.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 8 (rev 13)
00:09.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 9 (rev 13)
00:0a.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 10 (rev 13)
00:0d.0 Host bridge: Intel Corporation Device 343a (rev 13)
Linux版本:
[root@192.168.1.100]$ uname -a
Linux c25-zol-fss-web1.cnet.com.cn 2.6.9-89.31.1.ELsmp #1 SMP Tue Oct 19 17:42:26 EDT 2010 i686 i686 i386 GNU/Linux
CPU信息:
[root@192.168.1.100~]$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.20GHz
stepping : 10
cpu MHz : 3201.109
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl cid xtpr
bogomips : 6405.19
processor : 1
vendor_id : GenuineIntel
..................................
网卡:
[root@192.168.1.100~]$ ifconfig
eth0 Link encap:Ethernet xxxxx
inet addr:192.168.1.100 xxxxx
inet6 addr: fe80::7aac:c0ff:fef9:28b2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:193139938554 errors:0 dropped:21 overruns:0 frame:0
TX packets:151247310956 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:68103040480388 (61.9 TiB) TX bytes:75067141988277 (68.2 TiB)
Interrupt:169 Memory:f4000000-f4012800
eth0:0 Link encap:Ethernet HWaddr 78:AC:C0:F9:28:B2
inet addr:192.168.1.101 Bcastxxxxx Mask:255.255.248.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169 Memory:f4000000-f4012800
eth1 Link encap:Ethernet HWaddr 78:AC:C0:F9:28:B4
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.255 Mask:255.255.255.0
inet6 addr: fe80::7aac:c0ff:fef9:28b4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:104498226241 errors:0 dropped:1229 overruns:0 frame:0
TX packets:99615968852 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22540472311941 (20.5 TiB) TX bytes:62563816104292 (56.9 TiB)
Interrupt:122 Memory:f2000000-f2012800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3039643228 errors:0 dropped:0 overruns:0 frame:0
TX packets:3039643228 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:438778812096 (408.6 GiB) TX bytes:438778812096 (408.6 GiB)
标签:io os ar sp div on c linux ad
原文地址:http://www.cnblogs.com/jamesbd/p/3994497.html