Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934317AbYBAAmS (ORCPT ); Thu, 31 Jan 2008 19:42:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752201AbYBAAmB (ORCPT ); Thu, 31 Jan 2008 19:42:01 -0500 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:54723 "EHLO amd.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752825AbYBAAmB (ORCPT ); Thu, 31 Jan 2008 19:42:01 -0500 Date: Fri, 1 Feb 2008 01:42:12 +0100 From: Pavel Machek To: kernel list , jikos@suse.cz Subject: how to tell i386 from x86-64 kernel Message-ID: <20080201004212.GA2818@elf.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 654 Lines: 22 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 -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/