Hi! int numCores = Runtime.getRuntime().availableProcessors();
It will return an ok value, it may not return the actual number of cores depending on affinity settings and things like that, but it will return the cores that JVM have access to.
Mikael Den 2020-02-09 kl. 12:44, skrev F.D.:
Hi,I'd like to know if is possible to know the number of logical/physical cores on a node in a cluster?Thanks, F.D.
