Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
How do I know if I am running 32 or 64-bit Linux?
Determine Linux Server's Architecture (32 or 64 bit)

I installed the following

  • RedHat-Linux-OS-5.3.0.0-01_x32 on machine1
  • RedHat-Linux-OS-5.3.0.0-01_x64 on machine2

What command or file can I use to check if the version of Linux installed is 32 bit or 64 bit.

Note that redhat-release does not define whether the version is 32/64.

share|improve this question

marked as duplicate by Chopper3, pfo, MDMarra, EEAA, Steven Monday Jan 3 '12 at 17:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

up vote 6 down vote accepted

To get the current running 'arch' (architecture), run:

uname -m

Capability of your CPUs you can run:

dmidecode

and

cat /proc/cpuinfo

The 'LM' flag should be present in 64bits systems as it represent 'LONG MODE' (64bit Extensions, AMD’s AMD64 or Intel’s EM64T).

share|improve this answer

Typing uname -m in a shell will do.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.