2008/12/3 Sonia Hamilton <[EMAIL PROTECTED]>: > How do I find out if a cpu is 32 or 64 bit? (Notice: cpu, not kernel). > > Googling seems to suggest 'cat /proc/cpuinfo' and look for lm in the flags. > > Are there any other ways of doing this? > > Yes you can look at the model name, but this is only useful if you know from > memory that model x is 32 bit and model y is 64 bit. > > Sonia.
Hey, Searching for the lm flag should be sufficient, but you can also check using `lshw -class processor` and check the 'width' line for 32/64 bit and/or find x86-64 in the 'capabilities'. cheers, Owen. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html