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

Re: Identifying CPU and current OS



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


  songbird


Reply to: