Skip to main content
Source Link

How can I track which process is calling another process (Linux)?

My computer is getting really laggy with a sendmail process (it's using 10% memory and 20% CPU all the time). I tried the following:

  1. Stopping the service -> Futile. The service doesn't exist.
  2. Killing the process -> Useless. The process restarts itself.
  3. Removing the software -> Fatal. It tries to take 700MB along with it.
  4. Renaming the binary -> Works. But it's a temporary solution.

I'm trying to identify which process is making the call to the sendmail process. How can I find the culprit?

The distro is Fedora 30.