[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Identifying CPU and current OS



On 9/28/25 7:28 AM, songbird wrote:
Richard Owlett wrote:
I may resurrect an former desktop machine as a trouble shooting aid.
I need to know the data bus width.

I know the Debian version number is stored in /etc/debian_version .

How do I find if the installed OS is 32 or 64 bit?

$ uname -a
Linux ant 6.16.8+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.16.8-1 (2025-09-21) x86_64 GNU/Linux


How do I discover the CPU's bus width?

# this one has "address sizes	: 39 bits physical, 48 bits virtual" in it, but
# i'm not sure all cpu versions have this...  may not be exactly what you are
# looking for (data bus can be different than address bus)...
$  cat /proc/cpuinfo | grep "address sizes" | head -1
address sizes	: 39 bits physical, 48 bits virtual

Underlying my question was the assumption that when a processor was referred to as 32 or 64 bit, it was a reference to the width of the data bus.




   songbird




Reply to: