process control/trace facilities (like ptrace)
Hi,Is there any way I can control or trace the process execution in Java, like the C calls ptrace and waitpid?Best regards,Jo鉶
[154 byte] By [
iamtotala] at [2007-10-2 7:32:31]

Well, you could use ptrace. If we are thinking of the same program it traces at the system call level so it should be language agnostic.I don't know (and I'm too lazy to google) what waitpid is except the waitpid(2) system call, but maybe that works too. Try it.