Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is there any mean in linux to get the CPU ID?
I mean, for example there are several Intel pentium 4 models, all identified by a unique number e.g. 620, 630, 631, 640, 641, 650, 651, 660.
If one tries cpuz in windows he will get this info straight forward whereas /proc/cpuinfo in linux does not contain it.
Before posting this question I searched in previous posts on linuwquestions.org and I have surprisingly found very few posts related and all left unanswered.
dmidecode -t 4 | grep -i version (without the quotes). Not that it seems to make any difference here.
Lshw will show you the model number, and you can also get the model number from the BIOS with most boards.
Quote:
Originally Posted by heavytull
I mean, for example there are several Intel pentium 4 models, all identified by a unique number e.g. 620, 630, 631, 640, 641, 650, 651, 660.
If one tries cpuz in windows he will get this info straight forward whereas /proc/cpuinfo in linux does not contain it.
Not all Pentium 4 models had a XXX number.
Early P4s (400MHz FSB, 256k cache) used X.XGHz (eg Pentium 4 1.6GHz). Later P4s (400/533 FSB, 512kcache) used X.XGHz, with addional letters for models that had already been used (eg, Pentium 4 1.6A).
XXX model number P4s didnt appear until later, when hyperthreading, 800MHz FSB and 1MB/2MB cache models were released (and even some of them had the original X.X model number, eg Pentium 4 HT 3.0).
dmidecode -t 4 | grep -i version (without the quotes). Not that it seems to make any difference here.
with or without quotes doesn't make any difference here since there is no special character which would need to be escaped such as a blank space in the grepped for pattern.
If you run lshw from su/sudo, you get more information, like the cache.
"Capacity: 3733MHz" seems wrong, AFAIK there isnt a single P4 with a max clock speed of 3.733GHz. Still, lshw tends to produce odd results like that sometimes.
BTW, there is also 'lshw-gtk' which runs in a window.
If you run lshw from su/sudo, you get more information, like the cache.
"Capacity: 3733MHz" seems wrong, AFAIK there isnt a single P4 with a max clock speed of 3.733GHz. Still, lshw tends to produce odd results like that sometimes.
BTW, there is also 'lshw-gtk' which runs in a window.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.