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.