linux查看内核cpumemgcclibc命令
文章作者 100test 发表时间 2008:02:01 15:25:50
来源 100Test.Com百考试题网
查看系统内核版本命令:
uname -a
more /etc/*release more /etc/redhat-release
more /proc/version
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18 :00:54 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# more /etc/*release
Red Hat Enterprise Linux AS release 4 (Nahant Update 2 )
[root@localhost ~]# more /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 2 )
[root@localhost ~]# more /etc/issue
Red Hat Enterprise Linux AS release 4 (Nahant Update 2 )
Kernel \r on an \m
[root@localhost ~]# more /proc/version
Linux version 2.6.9-22.ELsmp([email protected])(gcc version 3.4.4 20050721(Red Hat 3.4.4-2 )) #1 SMP Mon Se
p 19 18 :00:54 EDT 2005
查看cpu 信息
grep "model name" /proc/cpuinfo
[root@localhost ~]# grep "model name" /proc/cpuinfo
model name: Dual-Core AMD Opteron(tm) Processor 2216
model name: Dual-Core AMD Opteron(tm) Processor 2216
model name: Dual-Core AMD Opteron(tm) Processor 2216
model name: Dual-Core AMD Opteron(tm) Processor 2216
[root@localhost ~]# more /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family: 15
model : 65
model name: Dual-Core AMD Opteron(tm) Processor 2216
stepping: 2
cpu MHz : 2412.409
cache size: 1024 KB
physical id : 0
siblings: 2
core id : 0
cpu cores : 2
fpu : yes
fpu_exception : yes