From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benoit Rouits Subject: Re: FW: 64 bit or 32 bit Date: Sun, 19 Aug 2007 21:48:34 +0200 Message-ID: <1187552914.4525.8.camel@localhost> References: <954E3479CC27224785179CA04904214D06DABFAB@0668-its-exmp01.us.saic.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <954E3479CC27224785179CA04904214D06DABFAB@0668-its-exmp01.us.saic.com> Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="utf-8" To: "Kirkwood, David A." Cc: linux-admin@vger.kernel.org just make a C program like this: int main() { printf("address bus is %d bytes\n",sizeof(void*)); } and compile it with cc then run it. If it prints 8, it is a 64 bit OS, if it prints 4, it is a 32 bit OS. cheers - Ben Le vendredi 17 ao=C3=BBt 2007 =C3=A0 14:18 -0400, Kirkwood, David A. a = =C3=A9crit : >=20 > From: Kirkwood, David A.=20 > Sent: Friday, August 17, 2007 1:13 PM > To: Linux group (linux-admin@vger.kernel.org) > Subject: 64 bit or 32 bit >=20 > How can I tell if a given system is running a 32bit krnel or a 64bit = kernel. I a system capable of running either, but I cannot figure out = which kernel is installed on it. >=20 > David A. Kirkwood >=20 >=20 > - > To unsubscribe from this list: send the line "unsubscribe linux-admin= " in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html - To unsubscribe from this list: send the line "unsubscribe linux-admin" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html