View Linux system hardware information

1. Check bai to see CPU information: cat /proc/cpuinfo
2. Check du Kanban card information: zhicat /proc/pci
3. Check USB device: cat /proc/bus/usb/devices
4. Check PCI information: lspci (relative (More intuitive than daocat /proc/pci)
5. View memory information: cat /proc/meminfo
6, view keyboard and mouse: cat /proc/bus/input/devices
7, view system hard disk information and usage: fdisk & disk – l & df
8, use the hardware detection program kuduz to detect new hardware: service kudzu start (or restart)
9, check the interrupt request (IRQ) of each device: cat /proc/interrupts
10, check the startup hardware detection information log: dmesg more / var/log/dmesguname -auptime
There are several ways to view Linux version information:
1: uname -a
2: cat /proc/version
3: cat /etc/issue
4: lsb_release -a
5: cat /etc/redhat-release
6 : Rpm -q redhat-release
detailed explanation lsb_release -a
log in 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 -a
LSB Version: :core-3: 1-amd64:core-3: 1-ia32:core-3: 1-noarch:graphics-3: 1-amd64: graphics-3: 1-ia32:graphics-3: 1-noarch
Distributor ID: CentOS
Description: CentOS release 5: 3 (Final)
Release: 5: 3
Codename: Final
This command is applicable to all linux, including Redhat, SuSE, Debian and other distributions.

Guess you like

Origin blog.csdn.net/qq_35576225/article/details/108627563