Sarting with Solaris 10 the svc.startd daemon replaces the init process as the master starter and restarter; in other words svc.startd assumes the role of starting system services.
The services started by svc.startd are refered to as milestones. A milestone is made up of several SMF services. This is a concept that replaces the traditional run-levels that were used in the previous version of Solaris. For example:
milestone/single-user <=> run-level S
milestone/multi-user <=> run-level 2
milestone/multi-user-server <=> run-level 3
To verify the current milestone(s) use the svcs command:
svcs -a | grep milestone
to change into another milestone (i.e. single-user)
svcadm milestone single-user
Solaris 10服务管理
本文介绍Solaris 10中svc.startd守护进程如何替代init进程成为系统服务的主启动器和重启器。svc.startd通过里程碑概念启动多个SMF服务,以取代传统运行级别。文章还介绍了如何使用svcs命令查看当前里程碑和服务状态,以及如何更改里程碑。
4541

被折叠的 条评论
为什么被折叠?



