On Oct 01, 2025, Richard Owlett wrote:
On 9/30/25 12:25 PM, Jeffrey Walton wrote:[SNIP] And based on OP's original question of "How do I discover the CPU's bus width?", he probably should have asked how to determine the register size of the CPU. I think that was closer to what he wanted to know.YES.On 9/28/25 7:00 AM, Richard Owlett wrote:I may resurrect an former desktop machine as a trouble shooting aid. I need to know the data bus width. [snip]Then clarified by posting:On 9/29/25 5:22 AM, Richard Owlett wrote:[snip]My underlying question was explicitly the character of the installed processor.I now formally ask: How do I determine the register size of its CPU (its architecture)?
Dead simple way (for x86, anyway); look at the kernel. If it has got "amd64" in the name, then the CPU is 64-bit.
If the kernel happens to be "i386"; then you need to look at lscpu to be certain, as it is possible that you installed a 32-bit kernel on a 64-bit machine (e.g. because there's only 2 GiB of RAM or something).
Any of the following bits of information will tell you: Architecture: x86_64 OR CPU op-mode(s): 32-bit, 64-bit OR Flags: [...] lm [...] ORModel name: 11th Gen Intel(R) Core(TM) i7-1165G7 Architecture and op-modes should be pretty self-explanatory: a CPU won't identify it's "x86_64" or capable of 64-bit opmodes if it's not a 64-bit processor. The "lm" CPU flag likewise means "long mode" (64-bit capabilities). Finally, you can always look up the CPU model's datasheet if you really wanted to.
-- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
Attachment:
signature.asc
Description: PGP signature