>       o number of CPUs

sysconf() - there is a documented interface for this already

>       o CPU family and type
>       o BogoMips (per CPU and/or overall)

Bogomips are pretty worthless values

> 2. features specific to a processor
>       o for x86 e.g. the "flags" and *_bug fields
>       o info about FPU, MMU and the like

FPU/MMU/cache stuff is one place where not everything can be acquired
trivially - especially non x86

Alan

Reply via email to