Hello...

I am trying to get CPU info on Linux. I need to get how many cpu\cores the CPU have. It is like "cat /proc/cpuinfo" but I am looking for a syscall or something like this. Anybody know?

Thanks.
Elvio