Linux hardware information

Source: Internet
Author: User

The/proc directory contains all system information. If necessary, you can use the following ls:

 
CAT/proc/cpuinfo # view CPU information. The content is full! CAT/proc/meminfo # view memory information. CAT/proc/ioports # view IO port CAT/proc/SWAPs # view swap partition information (/proc) CAT/proc/interrupts # interrupt information CAT/proc/Partitions # view disk partition CAT/proc/bus/USB/devices # view USB device CAT/proc/bus/input/devices # view input devices: keyboard and mouse CAT/proc/bus/PCI/devices # view the PCI device CAT/proc/loadavg # view the system load CAT/var/log/dmesg # view the Boot Check hardware, you can use grep for consideration: ETH, CPU, mem, PCI, USB, VGA, SDA ......

The hardware information viewed by using the terminal command line is much more readable and rich.

Lscpu # view CPU information lspci # view PCI device lsusb # view USB device vmstat # report virtual memory statistics fdisk-L # view partition information hdparm-I/dev/SDA # view disk Parameters DF-h # view disk shard information dmidecode # Read the system DMI table to display hardware and BIOS information. Lsmod # currently loaded driver dmesg # view the Boot Check hardware. You can use grep to overwrite Eth, CPU, mem, PCI, USB, VGA, SDA ...... Uptime # view system load
 
 

You can also install other software to view the hardware information: aptitude install lshw hwinfo, which is also very powerful.

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.