The system of my VPS is centos 5. I want to know if it is 32bit or 64bit.
> uname -a
Thu May 13 13:49:53 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
looks like 64 bit.
But
> getconf WORD_BIT
32
Looks like 32 bit.
Which is correct?
UPDATE
I believe the linux of my VPS is 32 bit. Because I downloaded a 64bit mongodb, found it can't start. And when I downloaded a 32bit instead, it works well.
getconf WORD_BIT
to tell you whether you have a 32-bit or a 64-bit OS? That makes no sense.