Hi,

I'd like to be able to tell when my monitored service is restarted as a 
result of its process dying vs. started normally upon boot. I've done 
some tracing, and it seems that the start/stop methods are called with 
the same SMF_FMRI, SMF_METHOD, and SMF_RESTARTER settings in either 
case. The %r %m %s %i %f parameter values are also the same.

Is there anything else I can check? The only evidence I see of a fault 
is in the log for that service:

[ Mar 17 00:23:27 Stopping because process received fatal signal from 
outside the service. ]

but I really don't want to have to log scrape or keep state files.

thanks,
Mike

Reply via email to