On Wed, Dec 29, 2010 at 1:34 PM, Nilesh Govindarajan <[email protected]> wrote:
> getconf LONG_BIT will probably return the OS type installed, 64 bit or
> 32 bit OS.
> But grep lm /proc/cpuinfo, will show the CPU type.

I couldn't make out any information out of that.
This can be because, I don't really have any idea about the flags it is showing.

> If grep lm /proc/cpuinfo returns output, it means you have a 64bit
> CPU.

Yes, that's true, as it is not at all showing any output on other 32-bit OS.
But, it isn't helping me to know *why*?

> This is independent of the OS installed.

Gr8. Let's me try that out on my Win 7 box. :-)

> It can be further highlighted by grep --color=auto lm /proc/cpuinfo
> It will show you lm in red color (default).

This anyway is showing red color, and I can see why?
As you yourself have written that *default*.

-- 
Thanks,
Sagar Belure

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to