nthallen / monarch

Monarch Data Acquisition System
0 stars 1 forks source link

parent enhancement: identify children #85

Open nthallen opened 4 years ago

nthallen commented 4 years ago

This is not essential, but it would be helpful:

On startup, parent could query /proc/\d+/stat to identify its children and pull in their cmdline information. Then when a process terminates, the original command line could be included in the log report. This would make it easier and quicker to identify which process died unexpectedly.

As a side benefit, parent could provide a verbose status output to the parent_client that would display all the processes running.