[ale] Procinfo

Damon L. Chesser damon at damtek.com
Mon Feb 14 13:42:16 EST 2011


On Mon, 2011-02-14 at 10:29 -0500, Geoffrey Myers wrote: 
> Jim Kinney wrote:
> > If lm is present it's a 64 bit capable system. if not it's 32.
> 
> So then this should suffice?
> 
> grep flags /proc/cpuinfo
> 
> My output has 'lm' and 'flags' on the same line, so the above returns 
> the same result as the solution you've identified.

Correct:

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp
lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm cmp_legacy svm
extapic cr8_lega

^ 64 bit proc

-- 
Damon Chesser
404-271-8699 cell
678-401-8420 hm
damon at damtek.com
http://www.linkedin.com/in/dchesser 



More information about the Ale mailing list