If I write a multi threaded
java program. Say if the number of processors are 4, I also ensure that the number of
thread is not more than 4.
1) Can any one let me know what are the steps to ensure that this program will utilize all 4 CPU's.
2) Do we need to set jvm option as -native
3) OS command on unix to find out whether program uses all 4 CPU's