monitor of processes improved.
I have deleted some comments. I started reading log file, line by line.
The idea is to locate process id and kill the process.