How to tell your linux OS is 32 bit or 64 bit?
uname is the command you need. It can also tell kernel version. If you used to compile VMWare tools, it needs to find the kernel headers that matches the kernel version.
The sampe output of uname is below:
Linux MachineName 2.6.22-14-generic #1 SMP Tue Feb 12 02:46:46 UTC 2008 x86_64 GNU/Linux
