CPU Detection Help
Introduction
The oplmgr
) detects the number of logical processors (historically called "CPUs" [short for "Central Processor Units"], from the time when each processor chip had only one processor core, and each core had only one thread) on which it and your
Optimal method -- All OS
All users can use our latest Web-based GUI Assistants to detect the logical processor count on the host operating system. (This detection will produce the same result as our license enforcement code.) Users who cannot or do not want to use the Web-based GUIs can generally use operating system commands and utilities to obtain the necessary information.
Fallback methods -- OS-specific
Windows users
Use the System Information utility (Start menu --> Accessories --> System Tools --> System Information, or Start menu --> Run... --> msinfo32
).
Drill down to System Information --> System Summary to see the relevant information. It is usually best to select View --> Advanced.
If in doubt, select Action --> Save As Text File..., and submit the resulting file for
Mac OS X, Linux, and other Unix-like OS users
Execute the relevant command(s) listed below for your OS, and provide that output to your
Platform | Command(s) |
---|---|
AIX 4 | prtconf | grep Proc |
AIX 3 or earlier | Commands vary. Contact support for assistance. |
AIX 5 or later | lparstat -i |
FreeBSD | sysctl hw.model |
HP-UX | /usr/sbin/ioscan -fnC processor
and /usr/sbin/ioscan -kf | grep processor |
Linux | cat /proc/cpuinfo |
Mac OS X | sysctl hw.logicalcpu |
SCO OpenServer 5 | hw |
SCO Unixware 7 | psrinfo -v |
Solaris (SPARC) | kstat > /tmp/kstat.output |
Solaris (x86, x86_64) | uname -X |
Tru64 (Compaq or HP) | psrinfo -v |
Referenced by...