[SLL] uname -m tells me kernel type of 64 bit or otherwise...

Xeno Campanoli xcampanoli at gmail.com
Wed Nov 14 10:35:27 PST 2007


Rob Smith wrote:
> On Nov 13, 2007 3:38 PM, Xeno Campanoli <xcampanoli at gmail.com> wrote:
>> Thing is, I was looking for something to tell me if I have a 64bit
>> kernel
> 
> file /boot/vmlinuz-`uname -r` | awk '{print $3}'
> 
> change vmlinuz to whatever naming your distro uses if it's not correct
> 
>> It seems to me the information I need should be there,
>> and there is a serious abusage of laziness going on here.
> 
> It's open source, and there's tons of ways to do what you are asking
> about. You could always google or fix the code yourself. Calling
> people lazy when free things don't work isn't very nice at all...

You're right rob.  I wasn't being clear.  My statement wasn't trying to
abuse laziness, which is something I tend to agree with Larry Wall
about.  Rather, just to say that another step was in order.

I want to put an addendum on the Ubuntu bug I put a reference to (see
the link in my previous post), but it has been closed, it it would be a
lot more comfortable to reopen it if I had some ammunition.  I'm not
very experienced in hard kernel and system level work, mostly having
done application work from core shell up to Web GUI.  The man page
clearly says "unknown" is an acceptable value for uname -i and uname -p,
so perhaps this is something that should bubble up to the Kernel folks
as it isn't seen as a contractual issue at the Ubuntu enterprise level.

xc
> 
> ~Rob
> 


-- 
The only sustainable organizing methods focus not on scale,
but on good design of the functional unit,
not on winning battles, but on preservation.


More information about the linux-list mailing list