Re: [Dpcl-user] Welcome to the "Dpcl-develop" mailing list
Brought to you by:
dpcl-admin,
dwootton
|
From: Sasidhar P. <psa...@gm...> - 2006-07-30 14:33:05
|
Hi all, Context: I am building a monitoring tool that will monitor a set of processes (list of processes from a config file). I am interested in knowing the exit status of each of these processes the system monitors. Depending on the exit status (and signals, if any, that caused the exit), the tool will take further action. One approach: I am thinking of opening a pipe to "truss" (or its variants) for each of processes to be monitored and look for the exit status. Is there a better way to simulate a "silent attachment to a running process" to be notified of the exit status? Could DPCL help in any fashion? Thanks, Sasi. |