查看linux系统版本信息:
[root@kvm-host~]# cat /proc/version (Linux查看当前操作系统版本信息)
Linux version 3.10.0-514.26.2.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Tue Jul 4 15:04:05 UTC 2017
查看当前系统版本信息:
[root@host-131 ~]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[root@host-131 ~]#
[root@kvm-host~]# uname -a (显示操作系统的基本信息)
[root@kvm-host]# cat /proc/cpuinfo (Linux查看cpu相关信息,包括型号、主频、内核信息等)
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz
stepping : 9
................