How to get a supervisor to tell me a child's startfunc?

Jim McCoy <>
Fri Oct 30 17:45:56 CET 2009


I need to discover the startfunc being used by a variety of processes
started dynamically by a supervisor and I am having a hard time
figuring out how to dig this information out of the system.  Process A
starts a bunch of children for supervisor S over its lifetime, process
B needs to do some maintenance or checking of which of these children
are running at various points in time, to do this B needs to
specifically know the start function that A used when it passed the
child spec for any particular child process in to S.  This information
does not seem to be available directly from the supervisor, so I am
guessing that there is some other place I need to look but my various
search queries seem to be missing the magic keyword that will not lead
me back to the standard supervisor docs...

Any hints?

Thanks,
jim


More information about the erlang-questions mailing list