Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-11-2007, 05:19 PM   #1
Registered: Sep 2005
Location: UK
Distribution: Ubuntu 12.04 LTS
Posts: 76

Rep: Reputation: 16
CLI tool to determine processor type?

Is there a command line tool that shows whether the system is 32/64 bit, and possibly the CPU Mhz?
Old 09-11-2007, 05:29 PM   #2
Registered: Jan 2005
Location: DeLand, Florida US
Distribution: Debian Etch
Posts: 91

Rep: Reputation: 15
cat /proc/cpuinfo
Old 09-11-2007, 06:37 PM   #3
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
Hiya! You might like the 'lshw' command too, which if not included in your Linux, can be gotten from and other places. It will give you some CPU info among other things.
Old 09-11-2007, 06:47 PM   #4
LQ Newbie
Registered: May 2005
Distribution: Slackware 11.0/current
Posts: 23

Rep: Reputation: 15

You can also try the uname command ("man uname" for details)

processor type:
uname -p
even more info (processor type, kernel version, etc.)
uname -a

are both helpful a times.

"cat /proc/cpuinfo" works but has a lot of info that you may not be looking for.

Also, uname will give you the MHz that the cpu is rated for (max MHz) while /proc/cpuinfo will give you the current MHz (if you are using power saving features like frequency scaling and such).

Also, /proc/cpuinfo will also be more obvious about multiple cores and such (you'll get severeral cpu's worth of information).

Finally, if you want to check that you have a 64 vs. 32 bit chip in there, you have to look for the model name (you can get this from either the uname command as part of the "uname -p" output, or from the "model name" line in /proc/cpuinfo) and then go to the manufacturer website and find out what that chips specs are. As far as I know, this doesn't show up in /proc/cpuinfo (at least not on my machine).

I get
"Genuine Intel(R) CPU T2250 @ 1.73GHz"
from either method. It's the T2250 that is important ... google for it and you'll find that it's only 32 bit ... oh well.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to determine memory type? swagger Linux - Hardware 3 04-17-2006 08:15 PM
How to determine partition type? halturata Linux - General 2 08-11-2005 02:07 PM
How to determine partition type? halturata Linux - General 3 08-11-2005 03:11 AM
How do I determine file system type? lowpro2k3 Linux - General 5 07-09-2005 03:40 PM
How does KDE determine file type? vdemuth Linux - Software 4 01-08-2005 04:08 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration