Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5602

Raspberry Pi OS • Re: RaspberryPi 4 on 32bitOS returns incorrect information

$
0
0
Thanks for the info. So I should use

Code:

getconf LONG_BIT
instead of

Code:

uname -m
to know exactly the number of bits in the OS that is running.
That's one of the preferred methods, yes.

You can also use dpkg --print-architecture to see the "native" installed architecture (armhf or arm64), or you can check one of the binaries with something like file to see what it was built for (file /bin/ls)

Statistics: Posted by rpdom — Mon Apr 22, 2024 7:28 am



Viewing all articles
Browse latest Browse all 5602

Trending Articles