Re: how to find number of processors in python

2005-01-31 Thread Christopher De Vries
"/usr/sbin/psrinfo -p" will print the number of physical processors on the system, though it does not indocate if they are on- or off-line. You could also write an extension which gets processor information using the sys/processor library. Example code is available in the "p_online" man page. Chr

Re: how to find number of processors in python

2005-01-30 Thread Ganesan R
> "muttu" == muttu <[EMAIL PROTECTED]> writes: > hello everybody > am writing a scanner using python which has to get the information for > sun's dual processors, so could any one of you please tell me how to > find the number of processors . is there any api's for this You can run /usr/sbin