How to know / find out if the CPU of your vps / server is 64 bit or 32 bit?

A quick tip on how to find out whether your server is running on 64 bit CPUs or 32 bit architecture.

Log in via SSH and simply type:

uname -a

And it would return something like this:

Linux example.com 2.6.17.8-node22 #2 SMI Tue Aug 11 19:14:36 UTC 2009 i686 GNU/Linux

If it’s i686, i586, etc., it’s 32 bit. If it’s x86_64, it’s 64 bit architecture.