probably process group is a nice idea. I will try evaluating in that domain.
Regarding nice value, tty inheritance - there is a potential problem if I rely on them.
I am trying to frame a generic script and the multiple chunks that are being executed, needlessly might turn out to a be a daemon therefore
1) detaching itself from a tty
2) altering the nice value
3) can switch between multiple process groups
the above is not something frequent but the generic capability of the script will be affected.
Am really wondering, is n't there an easy way to track child process by the parent - condition being parent is short lived and child being inherited by init.
Thanks again