Solved

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

Posted on 2007-11-27
11
240 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

929 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

10 Experts available now in Live!

Get 1:1 Help Now