Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-06-2012, 08:41 AM
|
#1
|
Member
Registered: Sep 2007
Posts: 102
Rep:
|
How to get the architecture of a os.
Hello,
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.
Thanks
|
|
|
06-06-2012, 08:54 AM
|
#2
|
Member
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 651
Rep:
|
Are you sure that
is not what you want?
|
|
|
06-06-2012, 08:57 AM
|
#3
|
Senior Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
|
What distro are you running? and what desktop manager are you using?
|
|
|
06-06-2012, 08:59 AM
|
#4
|
Member
Registered: Sep 2007
Posts: 102
Original Poster
Rep:
|
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.
Thanks
|
|
|
06-06-2012, 09:01 AM
|
#5
|
Member
Registered: Sep 2007
Posts: 102
Original Poster
Rep:
|
Hi,
TroN-0074
I am using Redhat 5.4 distro.
and about desktop manage i am not sure what is that Gnome may be.
Thanks
|
|
|
06-06-2012, 09:04 AM
|
#6
|
Member
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 651
Rep:
|
Just found this post in another thread which should give you that kind of information.
|
|
1 members found this post helpful.
|
06-06-2012, 09:57 AM
|
#7
|
Member
Registered: Sep 2007
Posts: 102
Original Poster
Rep:
|
hi 414N,
Thanks for the suggestion...
|
|
|
06-06-2012, 10:54 AM
|
#8
|
Senior Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
|
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.
|
|
|
06-06-2012, 08:14 PM
|
#9
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,419
|
http://www.cyberciti.biz/faq/linux-h...64-bit-or-not/
As stated there, 'uname -a' does(!) tell you the OS/kernel bit size; not the HW.
For HW, check lm flag exists as described.
|
|
|
06-06-2012, 08:39 PM
|
#10
|
LQ Guru
Registered: Dec 2007
Distribution: Centos
Posts: 5,286
|
Quote:
Originally Posted by pradiptart
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 01:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|