View hardware configurations for Linux systems

Source: Internet
Author: User

Linux as the operating system of course, and Windows is to be set up on the basis of hardware, so the hardware configuration information for us is also sure to understand, the following is the centos/redhat inside the command to view the hardware configuration:

    1. CPU Information

Cat/proc/cpuinfo |grep Processor|awk ' {print $} ' |wc-l

2. View memory Information

Free-m |grep Mem |awk ' {print $} '

3. View hard Drive information

Fdisk-l |grep GB

4. View network card configuration information

(1) View configuration file: Vim/etc/sysconfig/network-scripts/ifcfg-ethx

(2) View network card information IP a/ifconfig

This article is from the "7849472" blog, please be sure to keep this source http://7859472.blog.51cto.com/7849472/1715633

View hardware configurations for Linux systems

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.