-   Linux - Newbie (
-   -   How to get the architecture of a os. (

pradiptart 06-06-2012 08:41 AM

How to get the architecture of a os.
I want to know the architecture of the os that i have installed.
how to get that.It may be 32-bit or 64-bit but how i will know it by a command.

uname -a gives the informations but that is not giving any information about the installed os architecture it gives only processor architecture .

kindly tell any solution to my problem.


414N 06-06-2012 08:54 AM

Are you sure that

uname -m
is not what you want?

TroN-0074 06-06-2012 08:57 AM

What distro are you running? and what desktop manager are you using?

pradiptart 06-06-2012 08:59 AM

hi ,(414N)
Thanks for reply ,yes it is not the thing that i want .In my machine this command giving the answer x86_64,but I know my redhat os is a 32-bit os,
so this command is for the machine not for the OS.


pradiptart 06-06-2012 09:01 AM


I am using Redhat 5.4 distro.
and about desktop manage i am not sure what is that Gnome may be.


414N 06-06-2012 09:04 AM

Just found this post in another thread which should give you that kind of information.

pradiptart 06-06-2012 09:57 AM

hi 414N,
Thanks for the suggestion...

TroN-0074 06-06-2012 10:54 AM

The reason I asked about the desktop manager is because in Gnome you have the system monitor tool that tells you the information on the OS, as well as the RAM and other resources.
You could check on that.

Good luck to you.

chrism01 06-06-2012 08:14 PM

As stated there, 'uname -a' does(!) tell you the OS/kernel bit size; not the HW.
For HW, check lm flag exists as described.

johnsfine 06-06-2012 08:39 PM


Originally Posted by pradiptart (Post 4696809)
this command giving the answer x86_64,but I know my redhat os is a 32-bit os

The things we "know" that aren't so tend to cause more harm than the things we don't know.

You may "know" your redhat os is 32-bit, but it apparently knows it is 64 bit.

Uname -a does give you the info you asked about in this thread.

All times are GMT -5. The time now is 04:34 AM.