-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08/07/2012 03:08 PM, Micha? Mas?owski wrote: >> Thank you all very much for your answers. I think the command >> suggested by MagicFab is the one I am looking for: >> >> lshw -C cpu | grep width > > This won't give more information than if the CPU is 32-bit or 64-bit. > And it's not installed by default in Parabola (and doesn't seem > available on mips64el).
Well, this the Trisquel list, isn't it? > > > For "uname -m": > > x86 i?86 unless /proc/cpuinfo has lm in flags > x86-64/amd64 x86_64 or i686 if /proc/cpuinfo has lm in flags > MIPS mips* > ARM arm* If someone has installed a 32-bit OS on a 64 bit system, the above won't report x86_64. The lshw command reports exactly that, no matter what version of the OS is installed. > > > (* has the usual meaning of matching any text.) > > Wouldn't expect 32-bit systems being common on x86-64 CPUs, this is > useful nearly only for nonfree kernel modules built only for 32-bit x86. You should :) > > > I still don't believe that anyone reporting a non-x86 machine on h-node > wouldn't know what CPU architecture it has (e.g. by choosing the > installation media for it). (Or is there a free distro supporting > multiple such architectures and being often preinstalled on non-x86 > devices? Ones I know support MIPS and are only on a single device model > From a single seller.) Don't underestimate the masses :) Cheers, Fabian - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: PGP/Mime available upon request Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAhgScACgkQfUcTXFrypNXdfACgyu2zQsfj/7tGnY0yut2hIxg+ lLoAoKp2oJmu5zymE64QQbvOgiWeWl0e =7wmM -----END PGP SIGNATURE-----
