How do I determine if the hardware of redhat server is 64 or 32 bit

Dag Wieers dag at wieers.com
Wed Apr 5 11:47:20 UTC 2006


On Wed, 5 Apr 2006, vipin sagar wrote:

> Is it 64 or 32 bit ..??
> 
> When I heard this Q for the second time today at my office?
> I thought of writing this a mail to my dear colleagues? :)
> 
> http://vipinsagar.be/2005/12<http://vipinsagar.be/2005/12/23/is-it-64-or-32-bit.html>
> /23/is-it-64-or-32-bit.html<http://vipinsagar.be/2005/12/23/is-it-64-or-32-bit.html>

The problem is that uname will report what the operating systems is, not 
what the hardware is. This is what I get when I run a 32bit rhel3as on 
a 64bit blade:

	[root at xxxxxxx root]# uname -a
	Linux xxxxxxx 2.4.21-40.ELsmp #1 SMP Thu Feb 2 22:22:39 EST 2006 i686 i686 i386 GNU/Linux

	[root at xxxxxxx root]# dmidecode | grep Product
                Product Name: ProLiant BL20p G

	[root at xxxxxxx root]# lspci -v | grep 64-bit
	00:1c.0 PCI bridge: Intel Corporation 6300ESB 64-bit PCI-X Bridge (rev 02) (prog-if 00 [Normal decode])
	        Memory at fdef0000 (64-bit, non-prefetchable) [size=64K]
	        Memory at fdee0000 (64-bit, non-prefetchable) [size=8K]
	        Memory at fde80000 (64-bit, non-prefetchable) [size=256K]
	        Memory at fdff0000 (64-bit, non-prefetchable) [size=64K]
	        Memory at fdfe0000 (64-bit, non-prefetchable) [size=64K]
	        Memory at fdfd0000 (64-bit, non-prefetchable) [size=64K]

I had hoped that some of the CPU flags would identify what I was looking 
for, but sadly I know too little about the subject. It would be nice to 
have a tool that can identify this without any doubt.

Kind regards,
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]




More information about the redhat-list mailing list