* To find the System (hardware) architecture
$uname -a
will display something link this below.
Linux gisnas.corp.com 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux
From the end you can see "i686 i686 i386 GNU/Linux" which is the hardware architecture representation.
* To find the OS (operating system) architecture.
$getconf WORD_BIT or $getconf LONG_BIT
32
Both these command will display the loaded OS architecture.
$uname -a
will display something link this below.
Linux gisnas.corp.com 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux
From the end you can see "i686 i686 i386 GNU/Linux" which is the hardware architecture representation.
* To find the OS (operating system) architecture.
$getconf WORD_BIT or $getconf LONG_BIT
32
Both these command will display the loaded OS architecture.
This comment has been removed by a blog administrator.
ReplyDelete