View hardware information in linux and hardware in linux

Source: Internet
Author: User
Tags egrep

View hardware information in linux and hardware in linux
Dmidecode | grep Name is used to view various hardware information of a machine, such as cpu, memory, and network card.
Lshw-short | egrep 'cpu | 4GiB DIMM | eth'
Lshw-short | grep '4gib DIMM '| wc-l check whether the disk is an ssd
/Opt/MegaRAID/MegaCli/MegaCli64-PDList-aAll | egrep 'raw Size | SSD'
View the memory status. The total amount of memory is free-g.

How to view hardware information in Linux

2. view the Board information: cat/proc/pci3, view the USB device: cat/proc/bus/usb/devices4, and view the PCI information: lspci (more intuitive than cat/proc/pci) 5. view the memory information: cat/proc/meminfo6. view the keyboard and mouse: cat/proc/bus/input/devices7, view system hard disk information and usage: fdisk & disk-l & df8. Use the hardware detection program kuduz to test the new hardware: service kudzu start (or restart) 9, view the interrupt request (IRQ) of each device: cat/proc/interrupts10, and view the startup Hardware Detection Log: dmesg more/var/log/dmesguname-auptime methods for viewing Linux version information: 1: uname-a2: cat/proc/version3: cat/etc/iss Ue4: lsb_release-a5: cat/etc/redhat-release6: rpm-q redhat-release details lsb_release-a log on to the server and execute lsb_release-a to list all version information, for example: the Code is as follows: [hacder @ NBCTC-14-15 ~] $ Lsb_release-aLSB Version: core-3: 1-amd64: core-3: 1-ia32: core-3: 1-noarch: graphics-3: 1-amd64: graphics-3: 1-ia32: graphics-3: 1-noarchDistributor ID: CentOSDescription: CentOS release (Final) Release:

How to view Computer Configurations in linux

How to view system hardware configuration in linux
In linux, how does one view system configurations? In the graphic mode, we can conveniently use the Linux Graphics Tool and click a few to view the hardware information of the Linux system. However, most production server systems do not install the Xwindo service to save system resources. Therefore, in the graphic mode, we can easily view the hardware information of the system.
In linux, how does one view system configurations?
In the graphic mode, we can conveniently use the Linux Graphics Tool and click a few to view the hardware information of the Linux system. However, most production server systems do not install the Xwindo service to save system resources. Therefore, it is necessary to view the hardware information of the system in graphic mode.
Linux has not yet provided commands or software for Machine System Information (like CPU-Z, everest, etc ). The specific method to view the system configuration is as follows:
1. the system hardware configuration is in the/proc directory.
2. You can run the following command to view the files:
Cat/proc/cpuinfo view cpu information. processor 0 is a U, 1 is two, and flags is hyper-threading.
Lspci viewing motherboard Information
Free-m memory query (the memory size is displayed under the total attribute ).
Fidsk-l check hard disk space
Df-h hard disk Query
View the folder size in du-sh
The memory process load is complete.
Uptime query of running time load and other information

The linux system is mainly used for programming and development. You need to use Command commands to query machine configurations. All actions in the system are queried by Command commands. So we suggest you install a Windows 7 7 system if you really cannot.

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.