Java Runtime availableProcessors

public class Test {
  public static void main(String[] args) {
	  try {
		  System.out.println(Runtime.getRuntime().availableProcessors()); 
	} catch (Exception e) {
		e.printStackTrace();
	}
  }
}
Please Share