In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This "Linux system how to view the kernel version" article, the article sample code is introduced in great detail, has a certain reference value, interested friends must refer to, for "how to check the kernel version of the Linux system", the editor sorted out the following knowledge points, please follow the pace of the editor step by step to understand, then let's get to the topic.
Use the uname command to view the Linux kernel version the uname command displays multiple system information, including the Linux kernel architecture, name version, and release.
To find out which version of the Linux kernel is running on the system, enter the following command:
Uname-srm output result:
Linux 3.10.0-957.12.2.el7.x86_64 x86 answer 64 3-kernel version. 10-main revision. 0-957-minor revision. 12-Patch version. Use the hostnamectl command to view the kernel version of the hostnamectl utility, which is part of systemd to query and change the system hostname. It also displays Linux distributions and kernel versions:
Hostnamectl Static hostname: CentOS7.linuxrumen.com Icon name: computer-vm Chassis: vm Machine ID: 20c27040135a4d46b2d3d07180f37303 Boot ID: 2f495af0684e4adfb34f0366f2567460 Virtualization: vmware Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux 3.10.0-957.12.2.el7.x86_64 Architecture: x86-64 use the following command to display only the current kernel version:
Hostnamectl | grep-I kernel
Verify that the kernel version / proc directory contains virtual files by looking at the / proc/version file, which contains information about system memory, CPU kernel, mounted file systems, and so on. Information about the running kernel is stored in the / proc/version virtual file. View the contents of the file with cat:
The output of cat / proc/version is as follows:
Linux version 3.10.0-957.12.2.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)) 1 SMP Tue May 14 21:24:32 which versions of UTC 2019Linux are available in Linux: Deepin, UbuntuKylin, Manjaro, LinuxMint, Ubuntu and so on. Among them, Deepin is one of the best-developed Linux distributions in China; UbuntuKylin is a derivative release based on Ubuntu; Manjaro is a Linux release based on Arch; LinuxMint's default Cinnamon desktop is similar to Windows XP's easy-to-use; Ubuntu is the Linux operating system based on desktop applications.
The above is all the contents of the article "how to check the kernel version of the Linux system". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.