I am creating a program in java which runs another program in java.
Runtime.getRuntime().exec("java process1");
I want to get the CPU usage of this process.
I am creating a program in java which runs another program in java.
Runtime.getRuntime().exec("java process1");
I want to get the CPU usage of this process.