Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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- on machine1
  • RedHat-Linux-OS- 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.

up vote 6 down vote accepted

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

uname -m

Capability of your CPUs you can run:



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.