unix

How do I determine if my processor on my Linux server is 32-bit or 64-bit?

To find out if your processor(s) is/are 32-bit or 64-bit, you can check the /proc/cpuinfo file.

If you have a 64-bit processor, you will see long mode (lm) in the flags section of /proc/cpuinfo.

cat /proc/cpuinfo | grep flags | grep ” lm ” | wc -l

If the result of the command above is 1 or more then you have a 64-bit processor. If the result is 0 then you have a 32-bit processor(s).

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top