Wednesday, January 29, 2014

SMF interface

The SMF interface is comprised of management and configuration commands.

The management CLI commands are:
  
  • svcs
    Prints summary information.
    For instance: state, dependencies, log, notifications and processes.
    Examples.
     
  • svcadm
    Manipulates instances.
    Requests actions to the associated service restarter.
    For instance: enable, disable, refresh, restart, clear.
    Examples.

The configuration CLI commands are:
  
  • svcprop
    Prints properties values.
    It can take into account the different repository layers.
    Examples.
     
  • svccfg
    Manipulates configuration data on the repository.
    It also provides helpers for importing, exporting, validation, and so on.
    Examples.