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

Re: the "proper" way to identify the bitness of your kernel and CPU



On Fri, 3 Apr 2009, Sharpe, Sam J wrote:

> [sam machine ~]$ [[ $(grep lm /proc/cpuinfo) ]] && echo x86_64 || echo i686
> x86_64 (this represents the processor architecture)

  and your opinion of

  $ getconf LONG_BIT

i'm guessing that is equally informative, yes?

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================


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