* Mikael Aronsson ([EMAIL PROTECTED]) [000904 03:16]:
> 
> Hi !
> 
> What is the best way to detect the number of CPU's ?, I guess I could look in 
>/proc/cpuinfo, but is there a better more portable way to do it ?
> 
> Mikael
> 
grep -c "processor" /proc/cpuinfo
gives the number of processors.

-- 
Derek Tattersall                        [EMAIL PROTECTED]



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to