1, check how many model:
~# svcs "svc:/milestone/*"
STATE STIME FMRI
online Jan_05 svc:/milestone/unconfig:default
online Jan_05 svc:/milestone/config:default
online Jan_05 svc:/milestone/devices:default
online Jan_05 svc:/milestone/network:default
online Jan_05 svc:/milestone/name-services:default
online Jan_05 svc:/milestone/single-user:default
online Jan_05 svc:/milestone/self-assembly-complete:default
online Jan_05 svc:/milestone/multi-user:default
online Jan_05 svc:/milestone/multi-user-server:default
2, How to use the command:
# svcadm
Usage: svcadm [-v] [cmd [args ... ]]
svcadm enable [-rst] ... - enable and online service(s)
svcadm disable [-st] ... - disable and offline service(s)
svcadm restart ... - restart specified service(s)
svcadm refresh ... - re-read service configuration
svcadm mark [-It] ... - set maintenance state
svcadm clear ... - clear maintenance state
svcadm milestone [-d] - advance to a service milestone
3, use command,such as below, to entered on model and OS wll be maintence on the screen
#svcadm milestone -d svc:/milestone/multi-user:default
4, restore it to before:
#svcadm milestone -d all
5, check current level
#who -r
阅读(1364) | 评论(0) | 转发(0) |