Toolserver:Admin:SMF

The Service Management Facility (SMF) is used to manage services in Solaris. It replaces the old  system.


 * Introduction to SMF
 * Solaris 10: System Administration Guide: Basic Administration: Managing Services (Overview)


 * To list all running services:

% svcs STATE         STIME    FMRI legacy_run    Jan_02   lrc:/etc/rcS_d/S50sk98sol legacy_run    Jan_02   lrc:/etc/rc2_d/S10lu online        Jan_02   svc:/system/svc/restarter:default online        Jan_02   svc:/network/pfil:default online        Jan_02   svc:/network/loopback:default ...


 * Use  to list all services, including disabled ones.

% svcs -vx mysql-51 svc:/application/ts/mysql-51:default (MySQL) State: online since Sat Mar 06 07:02:07 2010 See: /var/svc/log/application-ts-mysql-51:default.log Impact: None.
 * Disable a service:
 * Enable a service:.
 * Re-read a service's configuration:
 * If a service breaks for some reason, it will be placed in the  state.  To clear this and restart the service (after fixing the problem):.
 * List all information about a service:
 * If the service fails, look at its logfile (from ) for more information.

Category:Admin:Software