I think jvmManager.getPid(...) is correct. It should give you the launched JVM's PID properly. In fact, the same is even used to kill the JVMs.
2011/3/29 朱韬 <[email protected]>: > hi,guys: > I want to monitor each tasks' io usage, do can I get each task's > process id? > I used jvmManager.getPid(tip.getTaskRunner()); but it didn't seem to > be the task's process. > Thanks > > zhutao -- Harsh J http://harshj.com
