Linux - Hardware Information

1. lscpu ,cat /proc/cpuinfo - used to query CPU information

2. cat /proc/meminfo, free -m - memory information

3. lsblk - hard disk and partition distribution

4. lshw - display hardware information table

This command is widely used. It can list a variety of different hardware parameters according to personal needs: CPU, memory, hard disk, USB controller, lshw card, etc. In essence, it extracts the corresponding hardware from different files in the /proc directory. information.

5. hwinfo, hardinfo - hardware information

Similar to lshw, hwinfo can also query hardware information and is widely used. It can also output detailed or brief information about various hardware parts, but the difference is that sometimes hwinfo is more detailed than lshw.
By default, the hwinfo tool is not installed on Linux systems, so you need to install it yourself.

6. lspci

The lsppci command lists information about the PCI bus and devices connected to the PCI bus, such as VGA adapters, SATA controllers, other modules, and more. The lspci tool is part of the pciutils package, so before installing lspci, you need to install the pciutils package.

7. lsusb - List USB bus information

This command lists the device information of the USB controller.

8. lsscsi - Lists SCSI devices.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326476040&siteId=291194637