Wednesday, January 23, 2008

Command to find Pocessor type in Linux

Hi,

In order to find whether the processor is 32bit or 64 bit in Linux, use the command

[root@server1 ~]# getconf LONG_BIT
32

Also you can use

[root@server1 ~]# uname -i
i386

If its 64 bit, it will show with the i386.

1 comment:

Anonymous said...

If it's 64 bit, "uname -i" will show with "x86_64" ;)

with best regards
Biwebco.com