Timeline for On GNU/Linux, How can I determine my CPU model name?
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 20, 2014 at 23:50 | history | edited | Daniel B | CC BY-SA 3.0 |
Fixed incomplete revision of earlier suggested edit, sorry for the push
|
Dec 20, 2014 at 17:11 | history | edited | Daniel B | CC BY-SA 3.0 |
added 189 characters in body
|
Dec 20, 2014 at 17:04 | comment | added | einpoklum | I'm looking for a utility with the appropriate database... | |
Dec 20, 2014 at 17:02 | comment | added | Daniel B | Yeah, so what? What make you think the Linux kernel has an integrated CPU model database? If you CPU does not support this CPUID query (maybe because it is disabled in the BIOS setup), you’re simply out of luck. | |
S Dec 20, 2014 at 16:58 | history | edited | Daniel B | CC BY-SA 3.0 |
Sadly, code is x64 only
|
S Dec 20, 2014 at 16:58 | history | suggested | einpoklum | CC BY-SA 3.0 |
Comment suggests this solution only applies to a specific architecture (not the one referred to in the OP)
|
Dec 20, 2014 at 16:55 | review | Suggested edits | |||
S Dec 20, 2014 at 16:58 | |||||
Dec 20, 2014 at 16:50 | comment | added | einpoklum | Oh, on the contrary - it does work with HWInfo on Windows... | |
Dec 20, 2014 at 16:42 | comment | added | Daniel B |
Databases obviously work, but only if they contain what you want to look up. You stated on the other answer that it doesn’t work. Apparently, this code is only for x86-64, sorry about that. Since /proc/cpuinfo contains the same information any, I doubt it’ll yield anything useful.
|
|
Dec 20, 2014 at 16:33 | comment | added | einpoklum | Also, it's not true that nothing else will. HWInfo uses a database of brand names and doesn't rely only on what the CPU itself reports. | |
Dec 20, 2014 at 16:32 | comment | added | einpoklum |
When I try to compile it, I get: cpumodel.S: Assembler messages:\n cpumodel.S:12: Error: bad register name `%rbp'\n cpumodel.S:13: Error: bad register name `%rsp' etc.
|
|
Dec 20, 2014 at 16:21 | history | answered | Daniel B | CC BY-SA 3.0 |