check service is running at boot

dears

am having solaris 10, and i would like to know if the NTP service is running when the OS staritng?on the other hand how can i make it start at the boot up?note the ntp is managed by the SMF in solaris 10.

thanks a lot

# svcs -a | grep ntp

should show you the status. for more detailed information, you can use,

# svcs -l svc://network/ntp

to enable it, i.e. make it start at boot time, provided you have done the proper configurations,

# svcadm enable svc://network/ntp

HTH

so as the service is enabled, it will start automatically as the system is rebooted right?

---------- Post updated at 06:22 AM ---------- Previous update was at 06:20 AM ----------

these the info i got:

bash-3.00$ svcs -l ntp
fmri svc:/network/ntp:default
name Network Time Protocol (NTP)
enabled false
state disabled
next_state none
state_time Sat May 14 08:25:01 2011
restarter svc:/system/svc/restarter:default
dependency require_all/error file://localhost/usr/sbin/ntpq (online) file://localhost/usr/sbin/ntpdate (online)
dependency require_any/error svc:/network/service (online)
dependency optional_all/error svc:/milestone/name-services (online)

its disabled,but am not sure if i enabled it and the system reboot it will start automatically?