Re: how to identify 32 vs 64 bit CPU?

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

 



Rick Stevens wrote:
If you get a result from
    cat /proc/cpuinfo | grep " lm "

you're on a 64-bit processor regardless whether it's a 32- or 64-bit OS.
If you want to know if the OS is 64-bit, then a result from
	uname -a | grep 64

would indicate a 64-bit OS.

How about just `uname -m`? That will give just the required information and leave out the rest.

   [veejay@marvin ~]$ uname -m
   x86_64


--
Regards,
विवेक ज. पाटणकर (Vivek J. Patankar)

Registered Linux User #374218
Fedora release 7 (Moonshine)
Linux 2.6.22.1-33.fc7 x86_64


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux