Quick Tip: How to Free Up Resources for Big Data Scripts in Linux by Checking Processes, Killing Duplicates, Tailing Log

ps -ef
sudo kill -2600 1982 999
tail -f myscript.log
Where “2600”, “1982”, and “999” represent the PPID’s you wish to kill, which you looked up with the ps -ef command.

Optionally filter the process list by changing the first command to:

ps -ef | grep -i keyword