Linux View CPU Information machine model and other hardware information __linux

Source: Internet
Author: User

Https://www.cnblogs.com/sunss/archive/2010/09/09/1822299.html

To test the hardware information of the machine:

# Cat/proc/cpuinfo | grep name | Cut-f2-d: | Uniq-c 
8  Intel (R) Xeon (r) CPU            E5410   

View CPU Information (model) (see 8 logical CPUs, also known CPU model)

# Cat/proc/cpuinfo | grep Physical | Uniq-c 
4 Physical ID      : 0 
4 Physical ID      

(It's actually two 4-core CPUs)

# getconf Long_bit 
32

(indicates that the current CPU is running in 32bit mode, but does not mean CPU does not support 64bit)

# Cat/proc/cpuinfo | grep Flags | grep ' LM ' | Wc-l 

(The result is greater than 0, which indicates support for 64bit calculation. LM refers to long mode, support LM is 64bit)

See the full details of the CPU, but most of us do not care about it.

Viewing memory information

# Cat/proc/meminfo
# uname-a 
Linux euis1 2.6.9-55.elsmp #1 SMP Fri Apr 17:03:35 EDT 2007 i686 i686 i386

(view current operating system kernel information)

# Cat/etc/issue | grep Linux 
(View current operating system release information)

View Machine Model

# Dmidecode | grep "Product Name"  

View Network card information

# DMESG | Grep-i ETH

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.