How to view server parameters in Linux

Source: Internet
Author: User

I. CPU size <br/> [root @ IDC ~] # More/proc/cpuinfo <br/> you can see the details or: <br/> [root @ IDC ~] # Cat/proc/cpuinfo | grep "model name" & CAT/proc/cpuinfo | grep "physical ID" <br/> model name: Intel (r) Xeon (TM) CPU 2.80 GHz model name: Intel (r) Xeon (TM) CPU 2.80 GHz <br/> model name: Intel (r) Xeon (TM) CPU 2.80 GHz model name: intel (r) Xeon (TM) CPU 2.80 GHz <br/> physical ID: 0 physical ID: 0 physical ID: 3 physical ID: 3 <br/> [root @ IDC ~] # <Br/> note: in Linux, you can view the details of each CPU in/proc/cpuinfo. However, for dual-core CPUs, two CPUs are displayed in cpuinfo. It is often mistaken for two single-core CPUs. <Br/> physical processor ID should be used to distinguish between single-core and dual-core. Physical processor ID can be found in cpuinfo or dmesg. <br/> if there is Ht in flags, it indicates that the number of physical CPUs can be determined by hyper-Threading Technology. You can view the physical id value. If the value is the same, the preceding value can be seen on the same physical CPU, <br/> This machine has two dual-core CPUs with IDs of 0 and 3 and 2.8 GB respectively. <Br/> 2. Memory size <br/> [root @ xbidc ~] # Cat/proc/meminfo | grep memtotal <br/> memtotal: 1034612 kb <br/> [root @ xbidc ~] # <Br/> 3. Hard Disk size <br/> [root @ xbidc ~] # Fdisk-L | grep disk <br/> Disk/dev/SDA: 300.0 GB, 300000000000 bytes <br/> [root @ xbidc ~] # <Br/> 

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.