Linux下查看操作系統(tǒng)的位數(shù)
Linux下如何明確地查看操作系統(tǒng)的位數(shù)
如何知曉操作系統(tǒng)是32位還是64位?這里介紹一種簡(jiǎn)單的方式:
[plain]
[root@localhost mysql-5.1.57]# getconf LONG_BIT
64
通過(guò)上面操作,我們可以很方便看到是64位。我的版本信息如下:
[plain]
[root@localhost mysql-5.1.57]# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-
4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-
4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 5.8 (Final)
Release: 5.8
Codename: Final
如果你的顯示不出來(lái),請(qǐng)man getconf,查看下幫助。
如何知曉操作系統(tǒng)是32位還是64位?這里介紹一種簡(jiǎn)單的方式:
[plain]
[root@localhost mysql-5.1.57]# getconf LONG_BIT
64
通過(guò)上面操作,我們可以很方便看到是64位。我的版本信息如下:
[plain]
[root@localhost mysql-5.1.57]# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-
4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-
4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 5.8 (Final)
Release: 5.8
Codename: Final
如果你的顯示不出來(lái),請(qǐng)man getconf,查看下幫助。
時(shí)間:2012-08-24 責(zé)任編輯:admin
相關(guān)文章
無(wú)相關(guān)信息