[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47A2A54B.90703@zytor.com>
Date: Thu, 31 Jan 2008 20:51:23 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Pavel Machek <pavel@....cz>
CC: kernel list <linux-kernel@...r.kernel.org>, jikos@...e.cz
Subject: Re: how to tell i386 from x86-64 kernel
Pavel Machek wrote:
> Hi!
>
> Quiz: on a booted system, how do you tell 32bit from 64bit kernel?
>
> A1: zcat /proc/config.gz | grep CONFIG_64
>
> ...but config.gz is optional
>
> A2: cat /proc/meminfo | grep High
>
> ...but i386 kernel could have highmem disabled
>
> What is _your_ answer? ;-)>
> Pavel
uname -m
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists