Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want it to stop monitoring it for sometime so that I can stop my server (my main motivation is that smf wont start my server again automatically once i manually stopped it) and then start it again (i will start manually) and then tell smf to start monitoring it again... thanks

share|improve this question
up vote 0 down vote accepted

I don't believe you can do that because SMF would have no idea what processes to monitor after you started the service manually. It needs to do the start.

share|improve this answer
then any chance i can tell SMF to unmonitor my service (without svccfg remove) and then i would do whatever I want with it and when I want my server app I will use the standard svcadm enable to start my server? – Jas Mar 6 '11 at 14:23
Sure, you can do "svcadm disable" to turn off the service and then start it manually. When done, shut it down manually and do an "svcadm enable" to tell it to take over management again. – JOTN Mar 6 '11 at 19:32
well I understood that the answer is NO - not possible with smf however "outragios" I find it simply does not support it. so i will have to find workarounds. i find it amazing it does not support it. – Jas Mar 8 '11 at 9:53
Doesn't support taking over monitoring of a process you started? How would it know what to monitor? – JOTN Mar 12 '11 at 0:21
after i unmonitor, i stop my service by myself and start it up again with smf so it would know to monitor it... problem is that i can't tell smf to unmonitor my service before i stop my server manually... – Jas Apr 4 '11 at 16:16

If you need to stop your SMF service just run svcadm disable on it and SMF will disable and "stop monitoring it". SMF will not take any further actions after you disabled the service and you'll free to mess with it in any way you want (change config files, move files, etc). After you're done just svcadm enable it.

SMF isn't just monitoring but also actively managing your services. It's different from other solutions (eg. in Linux) where you'd start the service through /etc/init.d scripts and daemontools would monitor/restart them.

share|improve this answer
The key part of the question was starting it manually and then have SMF take over monitoring the running process. I don't believe that's possible. – JOTN Mar 7 '11 at 14:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.