Re: cpu info 64bit/32bit

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

 



I think that aside from sparc64, all "long" variables of 64bit linux supported 
systems are 8bytes. Thus, printf("%d",sizeof(long)); should tell you if it is 
a 64bit system or not. CMIIW.

On Friday 09 March 2007 13:56, Sandeep Kumar wrote:
> y cpu is 32 bit or 64 bit and the linux kenrel version that i am
>
> > using is 32 bit or 64 bit. How do i get that ? Is there any command or
> > module that i have to use to get the cpu information ?

-- 
Regards,
        Tzahi.
--
Tzahi Fadida
Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info
WARNING TO SPAMMERS:  see at 
http://members.lycos.co.uk/my2nis/spamwarning.html

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux