Solaris Developer Quiz February 21, 2007
Which of the following is the master restarter in the service framework?a) init
b) rcS
c) svc.startd
d) svc.configd
The correct answer is c.
'svc.startd' is the master restarter daemon for Service Management Facility (SMF) and the default restarter for all services. 'svc.startd' starts, stops, and restarts services based on administrative requests, system failures, or application failures.
'init' is the default primordial user process. 'init' initiates the core components of the service management facility, svc.configd(1M) and svc.startd(1M), and restarts these components if they fail. For backwards compatibility, 'init' also starts and restarts general processes according to /etc/inittab.
'rcS' is a file in the /etc directory which executes the commands in the rcS.d directory. These commands are necessary to get the system into single user mode.
'svc.configd' is the repository daemon for the Service Management Facility. 'svc.configd' is invoked automatically during system startup, and restarted if any failures occur. 'svc.configd' should never be invoked directly.
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/27174/showart_465045.html
页:
[1]