Command for viewing CPU information, machine model, and other hardware information in Linux

Source: Internet
Author: User


Hardware information of the test machine: View CPU information (model) # cat/proc/cpuinfo | grep name | cut-f2-d: | uniq-c 8 Intel (R) xeon (R) CPU E5410 @ 2.33 GHz (we can see eight logic CPUs and the CPU model is available) www.2cto.com # cat/proc/cpuinfo | grep physical | uniq-c 4 physical id: 0 4 physical id: 1 (actually two 4-core CPUs) # getconf LONG_BIT 32 (indicating that the current CPU runs in 32bit mode, but does not indicate that the CPU does not support 64bit) # cat/proc/cpuinfo | grep flags | grep 'lm '| wc-l 8 (the result is greater than 0, indicating 64bit computing is supported. lm refers to the long mode, and supports lm is 64bit) and then the detailed cpu information is fully read, but most of us do not care about it. # dmidecode | grep 'processor information' view memory Information # cat/proc/meminfo www.2cto.com # uname-a Linux euis1 2.6.9-55. ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux (view the kernel information of the current operating system) # cat/etc/issue | grep Linux Red Hat Enterprise Linux AS release 4 (Nahant Update 5) (view information about the current operating system release) view the machine model # dmidecode | grep "Product Name" view Nic information # dmesg | grep-I eth author Kung Fu Panda

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.