Introduction to CentOS7.2 kernel version
1、
uname
Command
[root@bogon/]
#uname--help
Usage:
uname
[Option]...
Output a set of system information. If the option is not followed, only the-s option is attached.
-A, -- all output all information in the following order. If-p and
-I is omitted if the test result is unknown:
-S, -- kernel-name output kernel name
-N, -- nodename: output the host name on the Network Node
-R, -- kernel-release output kernel release number
-
v
, -- Kernel-version output kernel version
-M, -- Name of the hardware architecture of the machine output host
-P, -- processor Output processor type or
"unknown"
-I, -- hardware-platform output hardware platform or
"unknown"
-O, -- operating-system output operating system name
-- Help: displays the help information and exits.
-- Version: displays the version information and exits.
1.1、[root@fnw/]
# Uname-r view the kernel release version
3.10.0-327.el7.x86_64
1.2、[root@fnw/]
# Uname-a view all parameters
Linuxfnw3.10.0-327.el7.x86_64
#1SMPThuNov1922:10:57UTC2015x86_64x86_64x86_64GNU/Linux
2、[root@fnw/]
#cat/etc/redhat-release
CentOSLinuxrelease7.2.1511(Core)
3、[root@fnw/]
#rpm-qcentos-release(redhat-release)
centos-release-7-2.1511.el7.centos.2.10.x86_64
4、[root@fnw/]
#cat/proc/version
Linuxversion3.10.0-327.el7.x86_64(builder@kbuilder.dev.centos.org)(gccversion4.8.320140911(RedHat4.8.3-9)(GCC))
#1SMPThuNov19
22:10:57UTC2015