Article Title: How to verify the hardware configuration of a notebook in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
To view details about the CPU, memory, hard disk, and optical drive, run the following command.
[Root @ oragri ~] # Dmesg | more
Note: dmesg displays the startup information when the system loads the kernel and displays all your hardware.
You can also run the following commands to view the CPU, memory, hard disk, and optical drive information respectively.
[Root @ oragri ~] # Dmesg | grep cpu
[Root @ oragri ~] # Dmesg | grep hd
[Root @ oragri ~] # Dmesg | grep proc
View the LINUX version:
[Root @ oragri ~] # Uname-
You can also view the number of CPUs:
[Root @ oragri ~] # More/proc/cpuinfo
You can also run the following two commands to view the memory:
[Root @ oragri ~] # Top
[Root @ oragri ~] # More/proc/meminfo