linux系统中如何查看系统版本内核等信息
作者:互联网
1、
[root@PC3 test]# uname -a Linux PC3 3.10.0-123.el7.x86_64 #1 SMP Mon May 5 11:16:57 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
2、
[root@PC3 test]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo)
3、
[root@PC3 test]# cat /proc/version Linux version 3.10.0-123.el7.x86_64 (mockbuild@x86-017.build.eng.bos.redhat.com) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Mon May 5 11:16:57 EDT 2014
4、
[root@PC3 test]# hostnamectl Static hostname: PC3 Icon name: computer Chassis: n/a Machine ID: b7fae4ce730a4eb598ae4e92f7ad3683 Boot ID: 51902f79c0704df787767009b38b34e5 Virtualization: vmware Operating System: Red Hat Enterprise Linux Server 7.0 (Maipo) CPE OS Name: cpe:/o:redhat:enterprise_linux:7.0:GA:server Kernel: Linux 3.10.0-123.el7.x86_64 Architecture: x86_64
5、
[root@PC3 test]# lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch Distributor ID: RedHatEnterpriseServer Description: Red Hat Enterprise Linux Server release 7.0 (Maipo) Release: 7.0 Codename: Maipo
标签:4.1,x86,PC3,Linux,系统,7.0,64,内核,linux 来源: https://www.cnblogs.com/liujiaxin2018/p/14349083.html