Linux view kernel and CPU information

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.