I found the answer for myself. It turns out that everything is much simpler. If anyone needs it, here's what I found from the information.
There is nothing complicated there, and process management is one of the simplest tasks in Linux
https://www.hostforweb.com/article/how-check-running-processes-linux/ The PS AUX command displays all the running processes and uses the pgrep command. You can find the specific trails you need. I don't know how to allocate more resources to a running. Here is a detailed article on how to check running processes in Linux. It will probably give you more information you need.