Solved

bit version of operating system and hardware in linux box and it significance

Posted on 2007-11-27
11
239 Views
Last Modified: 2013-12-16
dear experts ,

1) I need your assistance to find , is the my OS with  32 bit/ 64 bit. ?  I applied below list of commands to retrieve my information. It makes to suspect that it as 32 bit version. Before confirm I need some confirmation  from some experts .
-sh-3.00# uname -r
2.6.9-55.0.9.ELlargesmp
-sh-3.00# uname
Linux
-sh-3.00# uname -a
Linux us-bcm 2.6.9-55.0.9.ELlargesmp #1 SMP Tue Sep 25 02:25:48 EDT 2007 i686 i686 i386 GNU/Linux
-sh-3.00# cat /etc/*elease*
cat: /etc/lsb-release.d: Is a directory
Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
-sh-3.00# uname -m
i686
-sh-3.00#

2) As other way round when I check  bit version by
- cd to /bin directory
- applied commad as below
      File mkdir
The output showing clearly that it is 64-bit .   I would like to know which is the correct way to find the bit version of the OS. Is this OR above

3) how to find bit level information for the hardware of the machine .
4) what kind of  bit combination are possible   at the Hardware and OS.
Means to say 32/64 bit H/W –with- 32/64 bit OS
5) what is significance being  64 bit of HW and OS   over being  32 bit of HW and OS  



thanks all in advance ..
0
Comment
Question by:mansur_mca
  • 6
  • 5
11 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 20357873
0
 
LVL 1

Author Comment

by:mansur_mca
ID: 20357941
Omarfarid ,much thanks for reacting so fast for my query .

some one can elobarate more about my clarifications that has raised ,  I would appreciate in advance to all..
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 20357952
Hi,

Mansur,

I could not reed read your original posting since it contains ureadable characters. If you can elaborate more?

0
 
LVL 1

Author Comment

by:mansur_mca
ID: 20358007
thanks Omarfarid , posting same again .

still if there any issue while reading question , please highlight , as this vital info for my project need to sort out urgently
--------------------------------------------------------------------------------------------------------
1) I need your assistance to find , is the my OS with  32 bit/ 64 bit. ?  I applied below list of commands to retrieve my information. It makes to suspect that it as 32 bit version. Before confirm I need some confirmation  from some experts .
-sh-3.00# uname -r
2.6.9-55.0.9.ELlargesmp
-sh-3.00# uname
Linux
-sh-3.00# uname -a
Linux us-bcm 2.6.9-55.0.9.ELlargesmp #1 SMP Tue Sep 25 02:25:48 EDT 2007 i686 i686 i386 GNU/Linux
-sh-3.00# cat /etc/*elease*
cat: /etc/lsb-release.d: Is a directory
Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
-sh-3.00# uname -m
i686
-sh-3.00#
--------------------------------------------------
2) As other way round when tried to check  bit version by
- cd to /bin directory
- applied commad as below
      File mkdir
The output showing clearly that it is 64-bit .   I would like to know which is the correct way to find the bit version of the OS. Is this OR above
- is this related OS bit version what i am getting output with this command ?
----------------------------------------------------------------------------------------------------------------------------
3) how to find bit level information for the hardware of the machine .


----------------------------------------------------------------------------------------------------
4) what kind of  bit combination are possible   at the Hardware and OS.
Means to say 32/64 bit H/W –with- 32/64 bit OS

-------------------------------------------------------------------------------------------------------------
5) what is significance being  64 bit of HW and OS   over being  32 bit of HW and OS  
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 20358253
Hi,

1- As we can see from the output of uname -a it is not 64 bit

4- You may have 32 bit H/W and 32 OS / 64 bit H/W and 32 bit OS / 64 bit H/W and 64 bit OS
5- 64 bit H/W & OS is faster than 32 H/W & OS
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 1

Author Comment

by:mansur_mca
ID: 20358413
thanks for info  Omarfarid...


please some one elobarate on section -3 also ,so that it bit clear for me.........
how to find bit level info of the hardware in linux

thanks much Omarfarid , reacting so fast .
0
 
LVL 1

Author Comment

by:mansur_mca
ID: 20358500
one more time below link pushed me in a dialoma,  

http://www.cyberciti.biz/tips/how-do-i-find-out-if-my-server-cpu-can-run-a-64-bit-kernel-version-apps-or-not.html


in this link ,  /proc/cpuinfo --  have flag information with "lm" then it saying that shold be 64 bit ...  the same showing me when i had looked the "cpuinfo" file
---
I much confused ? either  to confirm with  "uname" command or flag info from "/proc/cpuinfo" file that my OS with 32/64 bit

also some can share idea what I asked above ... be much appreciated
thanks for all -  as advance
0
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 20358564
Hi,

Mansur:

I have checked my /proc/cpuinfo and it shows no lm.

So my H/W IS 32 bit and OS 32 (from uname -a).

In your case the H/W could be 64 bit and OS is 32 bit.
0
 
LVL 1

Author Comment

by:mansur_mca
ID: 20358647
you are much appriciated Omarfarid ,

how to see the hardware bit detail. is there any command for that ?

my OS is  RH AS4,  what I said about above  flag have value has  "lm" as part those values. that is where I am much brainstorming to decide  between 32/64 as it is conflicting with info that I pasted for command output "uname -a" (above) ?

please advise on above two questioniers ?
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 20358717
Hi,

Mansur,

I am sorry I do not know how to check the H/W from the OS.

But I seams you are not interpreting the info in the link correctly.

It is saying that "If you see lm flags then you will able to run 64 bit kernel and applications"

What uname -a shows is whether the OS you have installed is 32 or 64 bit.

But what your H/W model specs say about the CPU? The server model can be found on the vendor site and it can be found if it is 32 or 64 bit.
0
 
LVL 1

Author Comment

by:mansur_mca
ID: 20359270
Omarfarid .Thanks for highlighting for my misunderstanding about the flag details from /proc/cpuinfo.  More than that I liked honestly on saying about not knowing H/W details  and advising to look after the vendor site. That given me additional input to look for my query. you have clarifired much part of the answers that I have asked.  Great help keep it Up .

Will wait for some time before closing this thread , others can share their view  on this.

Thanks – again to U
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now