Solved

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

Posted on 2007-11-27
11
244 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
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
 
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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 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