SUMMARY: svcadm question

From: Andrew Hall <halla3_at_corp.earthlink.net>
Date: Thu Jan 19 2006 - 13:55:46 EST
Thanks to John Malick, Rob McMahon and Darren Dunham.

To find the FRMI for a specific process one can:

# svcs -a | grep -i xfs

which returns

online         Jan_17   svc:/application/x11/xfs:default

# svcs -l x11/xfs
which returns info on the FMRI.

or
/bin/ps -o ctid -p <PID>   To get the contract ID and then
svcs -o ctid,fmri | fgrep <contract id>

The reason the process was not being killed when I disabled it was this 
service is historically a inetd controlled service and there was no stop 
method in the manifest.

I also was directed to the inetadm command.

Thanks again!

Drew

> Andrew Hall wrote:
> 
>>Greetings,
>>
>>Is there a way in solaris 10 to determine which FMRI is controlling a 
>>specific process?  For example if I have the following process:
>>
>>nobody 13756     1   0   Jan 11 ?           0:00 /usr/openwin/bin/xfs
>>
>>I looked w/ svccfg for xfs and I then ran:
>>
>>svcadm disable application/x11/xfs
>>
>>but the process is still running.  How do I determine which FMRI is 
>>controlling this process?
>>
>>Thanks,
>>
>>Drew
>>_______________________________________________
>>sunmanagers mailing list
>>sunmanagers@sunmanagers.org
>>http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Jan 19 14:01:17 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:54 EST