kill all childs of parent
The syntax of kill command is
As u want to kill ALL children u created by saying execl("java...") after forking.
The Process Group Id, of the "Parent Process" (which forked) and the child
created will same.
so do the following...to kill all process having the SAME PROCESS ID ..should work for u.