[root@LAMP1 config]# cat /proc/version 
Linux version 2.6.32-279.el6.x86_64 (mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Fri Jun 22 12:19:21 UTC 2012
[root@LAMP1 config]# uname -a
Linux LAMP1.1 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@LAMP1 config]# uname -r
2.6.32-279.el6.x86_64

查看版本:

[root@LAMP1 config]# cat /etc/issue
CentOS release 6.3 (Final)
Kernel \r on an \m

[root@LAMP1 config]# cat /etc/redhat-release 
CentOS release 6.3 (Final)

查看64位还是32位:

[root@LAMP1 config]# getconf LONG_BIT
64

相关文章:

  • 2021-12-10
  • 2021-10-19
  • 2022-12-23
  • 2021-12-03
  • 2021-11-08
  • 2021-12-26
  • 2021-11-08
  • 2021-11-08
猜你喜欢
  • 2021-11-08
  • 2021-11-08
  • 2021-11-08
  • 2021-12-20
相关资源
相似解决方案