hello..
the scenario of my problem:
Actually i need 2 generate a c program to find out how many processors are running at the n machines by devoloping a client server model using a unix enviroment!!
Any help is appreciated!!
thanks..
hello..
the scenario of my problem:
Actually i need 2 generate a c program to find out how many processors are running at the n machines by devoloping a client server model using a unix enviroment!!
Any help is appreciated!!
thanks..
Last edited by sumanpc; 02-20-2010 at 12:08 AM.
That'll get you started.Code:/* put stuff here */ int main( void ) { /* put stuff here too */ return 0; } /* optionally, put stuff here as well */
Quzah.
Hope is the first step on the road to disappointment.
Hope this is a small part of your requirement , I guess you are working in the unix environment
so that I suggest you to go through the /proc/cpuinfo file , which contains all the details of the
processors.
you can open that file in your code and do your stuffs .
All the best !