I'm running ISWI 2.x. Is there a way that I can determine the number of processors that the machine has?
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Determine the number of processors
Started by
brianw
, Oct 09 2002 17:17
1 reply to this topic
Posted 14 October 2002 - 00:50
In a few of my installations I get this value from the environment variable NUMBER_OF_PROCESSORS. It's a quick method, making a GetEnvVar call.
The other option is to look at HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor. There will be one subkey here for each process in the machine.
The other option is to look at HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor. There will be one subkey here for each process in the machine.