eswar | 10 Mar 14:11 2004

how to find the number processors on linux machine

sir,
i had a question

how can i find the number processors on alinux machine from my program..

regards
eswar



_______________________________________________
Gdb mailing list
Gdb <at> gnu.org
http://mail.gnu.org/mailman/listinfo/gdb
Michael Elizabeth Chastain | 12 Mar 16:35 2004
Picon

Re: how to find the number processors on linux machine

> sir, i had a question
> how can i find the number processors on alinux machine from my program

Try reading some of the files in /proc, such as /proc/cpuinfo
or /proc/stat .

Michael C
Ben Elliston | 12 Mar 06:43 2004

Re: how to find the number processors on linux machine

"eswar " <itseswar <at> rediffmail.com> writes:

> how can i find the number processors on alinux machine from my
> program..

This is a mailing list dedicated to questions about GDB, which yours
is not.  Try a Linux mailing list.

Ben

Gmane