Detecting CPUs and cores



Is there any way for Java to detect the number of CPUs that are available? Runtime.getRuntime().availableProcessors() returns the number of cores, not CPUs.
.