Copyright

Creative Commons License

This work is licenced under a Creative Commons Licence.

User login

Do I have a 64bit CPU?

As the case is with many large companies, there are boxes floating around in data centres here that I know very little about; they've been there for years working away nicely and all is good. These boxes are now being retired and I was unsure whether I could procure them to be used in a quick lab-environment to test out some ideas for a future project.

The problem was that I needed 64bit CPUs, and I knew that all these boxes had 32bit OSs installed. This is easy to discern:

grep flags /proc/cpuinfo

Look for the 'lm' flag, which stands for 'long mode'. If it is there then your CPU supports 64bit, and it does not matter if it is an AMD or Intel one, the flag is the same.