> 1. Is there any reason to prefer either
>
> lshw -C cpu | grep capabilities
>
> or
>
> cat /proc/cpuinfo | grep flags
>
> when figuring out machine's architecture?

On my laptop running Brigantia the first command takes 10s and
recommends being run as root while "grep flags /proc/cpuinfo" takes
0.014s, so I would recommend the second command more for the speed
difference (and for availability on non-Trisquel distros).

> 2. Are those both absolute sure ways to figure it out?

They show if the CPU declares x86-64 support, so it should be sure
enough.

> 3. What kind of flags a user can find with these two lines if she has
> machine with any of the following four architectures? Is there a
> documentation about this somewhere?

Just use "uname -m", check the flags only if it declares i686.

Attachment: pgpGjmjsrdL69.pgp
Description: PGP signature

Reply via email to