have a look here as well
A pattern on kill processes handling the variying no. of subprocesses
Killing process for current user:
have a look here as well
A pattern on kill processes handling the variying no. of subprocesses
Killing process for current user: