I am attempting to "pause" a running java process. So I went ahead and ran the recommended:
sudo kill -SIGSTOP <pid_of_java_proc>
however, if I run strace on it:
sudo strace -F -p <pid_of_java_proc> 2>&1
I see things like:
[pid <someotherpid>] sendto(34, "a string... [pid <yetotherpid>] sendto(34, "different string...
From which I presume that there are actually child processes that are somehow still "not frozen" with the initial.
Am I missing something? Is there an easy way to stop the parent PID "and all of its children"? I can't seem to get the (someotherpid, yetotherpid)'s to show up in a ps report to enumerate them all.