David Bustos wrote:

> Do you mean processes that the start method leaves running on purpose,
> or because of some error?  In the error case, the processes should all
> be members of the same process contract, presuming that they don't
> create their own contracts.  You should be able to use "pkill -c" to
> kill all of the processes.  We don't provide an easy way to determine
> the contract ID, though, unless it's in the log.

It's because of some error.  I can, of course, pkill -c <ctid> everyone 
(it's in svcs -pv, that makes it easy for me) but I thought what's the 
harm in providing the :kill feature in the SMF framework.

> :kill can only be used in the stop method, though, which we only use if
> the start method succeeded.  And then we assume that the service is not
> implemented by processes, so we discard the process contract ID and
> can't know what to :kill.

Yeah, I see that.  It's logical.

CT

Reply via email to