|
linux查看内核 cpu mem gcc libc命令(1) 查看系统内核版本命令:
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(bhcompile@crowe.devel.redhat.com)(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
|