tim.golden at viacom-outdoor.co.uk
Tue Jul 26 16:58:48 CEST 2005
| You can use
| print os.sysconf("SC_NPROCESSORS_CONF")
| works on Linux
| Pauldoo wrote:
| > Hi,
| > Is a way in python to obtain the total number of processors
| present in
| > the system?
| > os.platform doesn't seem to contain anything useful.
And on Windows (2000, at least):
does the trick.
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
More information about the Python-list