Common commands for viewing hardware resources in linux

Source: Internet
Author: User

Several Common commands for viewing hardware resources in linux: 1. graphics card information dmesg | grep-I vga lspci | grep-I vga // view graphics card information 2. dmidecode | grep-I 'serrial number' // view the motherboard information and the serial number of the motherboard. CPU information # Use the/proc file system cat/proc/cpuinfo dmesg | grep-I cpu # view the boot information dmidecode-t processor4. hard disk information fdisk-l // partition information df-h // size du-h // usage dmesg | grep sda5. memory information cat/proc/meminfo dmesg | grep mem free-m vmstat dmldecode | grep-I mem6. Nic information dmesg | grep-I eth lspci | grep-I ettings. mouse and keyboard and USB information cat/proc/bus/input/devices view keyboard and mouse cat/proc/bus/usb/devices view USB devices cat/proc/interrupts8. sound card information lspci | grep-I vga dmesg | grep-I vga9. other commands lspci (display external device information, information such as USB and nic)

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.