uname: Viewing kernel-related information
Parameters:
-A,--all: all system related information, including the following data will be listed
-S,--kernel-name: System kernel Name
-N,--nodename: Print network node host name
-R,--kernel-release: Kernel version
-M: The hardware name of the system, such as i686 or x86_64;
The type of-P:CPU, similar to-M, just shows the type of CPU
-I: Hardware platform (ix86)
-O,--operating-system: Print operating system
DMESG: Displays the kernel boot information
The DMESG command is used to print boot information for Linux systems, and kernel stores the boot information in ring buffer. You can use DMESG to view (print or control the kernel ring buffer) If you are too late to view the information. The boot information is also stored in the/VAR/LOG/DMESG file. Some hardware devices (such as seventh signaling cards, voice cards, and so on) are usually installed with drivers (kernel modules), and some information is printed, which can be viewed through the DMESG command.
Because the DMESG command outputs a bit more, it is usually used in conjunction with commands such as Less/more/tail/grep.
#输出所有的内核开机时的信息
DMESG | More
#查找开机时候硬盘相关的信息
DMESG | Grep-i HD
"Linux commands and tools" kernel-related commands