New version of monitoring processes script
It includes an improved version with comments
I have already discovered how to kill all related processes
from that script.
I have workable script, I will upload that one after polishing the code.