2010. 3. 29. 18:24

리눅스 32bit 와 64bit 구분

1. 시스템이 32bit 인 경우 아래와 같이 32 라고 나옴
[root@localhost ~]# getconf LONG_BIT
32


2. 시스템이 64bit 인 경우 아래와 같이 b4 라고 나옴
[root@localhost ~]# getconf LONG_BIT
b4


※ 참고 : 시스템에 대한 정보
cat /etc/issue
uname -a
cat /etc/redhat-release
[root@localhost ~]# cat /etc/issue
CentOS release 5.3 (Final)
Kernel \r on an \m

[root@localhost ~]# cat /etc/redhat-release
CentOS release 5.3 (Final)
[root@localhost ~]#
[root@localhost ~]# uname -a
Linux localhost 2.6.18-128.el5 #1 SMP Wed Jan 21 10:44:23 EST 2009 i686 i686 i386 GNU/Linux


솔라리스에서의 32bit 및 64bit 동작 구분

isainfo -kv
64-bit sparcv9 kernel modules 


 

'리눅스 퍼옴' 카테고리의 다른 글

rpm 명령어 자세한 옵션  (2) 2008.11.11
mplayer 설치하기  (0) 2008.09.09
시스템관리툴킷 : 로그파일 이해하기  (0) 2008.06.04
[펌글] 리눅스 하드 관리하기  (0) 2007.11.22
[펌글] DHCP 란?  (0) 2007.11.22
[펌글] VNC 서버  (1) 2007.11.22