Reference documents
Http://www.cnblogs.com/emanlee/p/3587571.html
The following are the operation in Centos 6.5
Viewing the system version
[Email protected] ~]# cat/etc/redhat-release
View Kernel version
[Email protected] ~]# Uname–r
View number of Bits
[Email protected] ~]# uname–m
View all information
[Email protected] ~]# Uname–a
View Physical number of CPUs
[[Email protected] ~] #cat/proc/cpuinfo| grep "Physical ID" | Sort| uniq| Wc-l
View each physical the number of cores in the CPU ( that is , the number of nuclei)
[[Email protected] ~] #cat/proc/cpuinfo| grep "CPU Cores" | Uniq
View Logic Number of CPUs
[[Email protected] ~] #cat/proc/cpuinfo| grep "Processor" | Wc-l
View CPU Information (model)
[[Email protected] ~] #cat/proc/cpuinfo | Grepname | Cut-f2-d: | Uniq-c
This article is from the blog "Write to Yourself", so be sure to keep this source http://zhaodongwei.blog.51cto.com/4233742/1758082
Linux view kernel and CPU information