Unanswered: Change of Process group id from shell script...
I have 15 processes with me. I want to kill only 10 processes among 15.
I don't want to kill like : kill -9 pid1 pid2 pid3....
I want to kill all of them using their process id.
So I would like to set a new process group id for those 10(over write old process group id with new id) and then I want to kill that process group id so that all processes which belong to that group id will be deleted.
Can I do like this? If so how can I do it from shell scripts?
Waiting for your precious reply.