nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Command to get architecture type

This is a discussion on Command to get architecture type within the Linux software forums, part of the Linux Getting Started category; Hi, I am using Redhat\CentOS\Fedora what is the comand from which i can come into know i am running a ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 09-06-2007, 10:34 PM
Junior Member
User
 
Join Date: Sep 2007
Location: Mumbai
My distro: Redhat/Solaris
Posts: 26
Rep Power: 0
amsreeku is on a distinguished road
Default Command to get architecture type

Hi,

I am using Redhat\CentOS\Fedora what is the comand from which i can come into know i am running a 32 or 64 bit os , also is there any command i am using architecture of 32 or 64 bit .Also can any once describe What is difference between i386,i586,i686.

If i am wrong please help so that i can understand the difference.

I come to know "getconf LONG_BITS" is the command in linux to view this is this right.
__________________
Shrikumar
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-08-2007, 12:23 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,060
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You need to use uname command, it
Code:
uname -a
See our FAQ => Linux how to find if processor is 64 bit / 32 bit

You can use getconf LONG_BIT command, but I recommend uname as it is available on other UNIX like oses

i386,i586,i686 == all are intel Cpu names, i386 is older as compare to i586 (P1) and i686 is newer. See
IA-32 - Wikipedia, the free encyclopedia
Microprocessor - Wikipedia, the free encyclopedia

Finally run command to get all CPU related info
Code:
less /proc/cpuinfo
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 09-26-2007, 02:43 PM
Junior Member
User
 
Join Date: Sep 2007
Location: Mumbai
My distro: Fedora,CentOS,Redhat,FreeBSD
Posts: 15
Rep Power: 0
aaru is on a distinguished road
Send a message via Yahoo to aaru Send a message via Skype™ to aaru
Default

Hi,

simply type the follow command on ur terminal,

#uname -m

the abv will gve u the arch type.otherwise u can use "arch" command display ur architecture.

#arch


thanks,

aaru
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
determining the type of buffer sathiya Coding in General 1 02-20-2008 09:23 PM
mtrr: type mismatch piggy Linux hardware 1 08-02-2007 11:32 PM
Finding machines S/N and Model Type mlperry Linux software 3 10-05-2006 11:15 PM
Invalid ICMP type 3 code 3 error to a broadcast -samba error raj Linux software 0 07-09-2006 05:38 AM
How to find different type of words (pattern matching) in vi sweta Linux software 2 06-07-2005 11:22 PM


All times are GMT +5.5. The time now is 10:26 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36