This is not possible (associate a running process to an online service 
to be managed by SMF). A process has to be a member of a process 
contract held by a restarter in order to be managed by SMF. Your running 
process will be a member of the same contract your shell is, not the 
same as your service's contract (assuming you didn't use ctrun). You can 
have a look at process(4) to learn how process contracts are created and 
how a process is made member of a contract.

Antonello

Xiangmin Ru wrote:
> Hi,
> As I know, there may be several processes associated with an online service, 
> which could be checked using "svcs -pv <service-name>". Could it be possible 
> to associate a running process with an online service? For example, there is 
> an online service named "src" and a process of "svcd" associated with it. I 
> brought up a new instance of "svcd" , this process was out of the service of 
> course. Could I add this new instance of "svcd" to the service so that it 
> would be controled be the SMF?
> Thank you for your help!
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> smf-discuss mailing list
> smf-discuss at opensolaris.org

Reply via email to