Would like to know who kill process

Hi all,

I'm a new developer of OpenWRT.
I have a question as below:
"How to know who kill the process."

I can't to get the answer from logs.
seems no info about this after I search keyword in code.

Any suggestion for adding log to know this?



As far as I know, signals aren't generally traced or hooked on a global basis.

What problem are you trying to solve?

If you're trying to do it for a specific process, this might help:

1 Like