查询centos查看系统内核版本,系统版本,32位还是64位

[root@centos01 ~]# lsb_release -a           #查看centos 版本为6.4
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.4 (Final)
Release: 6.4
Codename: Final
[root@centos01 ~]# cat /etc/issue    #查看centos 版本为6.4
CentOS release 6.4 (Final)
Kernel \r on an \m

[root@centos01 ~]# getconf LONG_BIT    #查看出linux安装为64位版本
64
[root@centos01 ~]# uname -a        #查看内核版详细信息
Linux centos01 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@centos01 ~]# uname -r    #查看内核版本
2.6.32-358.el6.x86_64
[root@centos01 ~]# cat /proc/version   #查看系统版本
Linux version 2.6.32-358.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Fri Feb 22 00:31:26 UTC 2013

posted @ 2015-04-26 22:18  wz0314  阅读(859)  评论(0编辑  收藏  举报