Re: FW: 64 bit or 32 bit

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

 



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ût 2007 à 14:18 -0400, Kirkwood, David A. a écrit :
> 
> From: Kirkwood, David A. 
> Sent: Friday, August 17, 2007 1:13 PM
> To: Linux group (linux-admin@xxxxxxxxxxxxxxx)
> Subject: 64 bit or 32 bit
> 
> 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.
> 
> David A. Kirkwood
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux