Our Server/OS is 32 Bit or 64 Bit?

To determine whether the running kernel is 32 bit or 64 bit :

3 ways to check,

To determine whether the CPU is 32 or 64 bit:

For checking the arch of the CPU we can grep the flags from the /proc/cpuinfo file


Among the flags identify the words “tm(transparent mode)” or “rm(real mode)” or “lm(long mode)”
rm ==> 16-bit processor
tm ==> 32-bit processor
lm ==> 64-bit processor