View the configuration of a Linux machine

Source: Internet
Author: User

1. View CPU Model Cat/proc/cpuinfo | grep name | Cut-f2-d: | Uniq-c 2, view memory information
# Cat/proc/meminfo3. View SystemCat/etc/redhat-release 4, view memory size free 5, view the number of physical CPUs cat/proc/cpuinfo| grep "Physical ID" | Sort| uniq| Wc-l 6. See the number of cores (that is, the number of nuclei) in each physical CPU cat/proc/cpuinfo| grep "CPU Cores" | Uniq 7, see the number of logical CPUs cat/proc/cpuinfo| grep "Processor" | Wc-l

8. Linux View version current operating system kernel information


9. Linux view current operating system version information


10. Linux View version current operating system release information

Cat/etc/issue or Cat/etc/redhat-release

11, Linux to view CPU-related information, including model, frequency, core information, etc.


12. Linux View version indicates that the current CPU is running in 32bit mode, but does not mean that the CPU does not support 64bit

Getconf Long_bit

View the configuration of a Linux machine

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: 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.