Monday Nov 07, 2011

5 Commands That Make Solaris Administration Easier

Face it. Not all of us have got it figured out.

If the Service Management Facility in Oracle Solaris 10 happens to be one of those areas that you didn't quite understand as well as you had intended, you may be interested to know that it's not as complicated as, say, the interplay between geopolitics and energy policy.

In fact, SMF only has five commands:

svcs Get detailed views of the service state of all service instances in the service configuration repository
svcadm Perform common service management tasks, such as enabling, disabling, or restarting service instances
svcfg Display and manipulate the contents of the service configuration repository
svcprop Retrieves property values from the service configuration repository with an output format appropriate for use in shell scripts
inetadm Observe or control services controlled by inetd

The svcfg and svcprop commands deal with the service repository (maintains configuration info and run-time data for services). The inetadm command focuses on inetd-controlled services. You can get more information about these three commands in the Oracle Solaris 10 Basic System Administration Guide, available from The Solaris 10 System Administration Documentation Collection. Or, if it hasn't moved, use this link.

If you want to learn about the many things that you can do with the first two commands, svcs and svcadm, read this technical white paper:

Easier System Administration with the Solaris Service Management Facility

It describes how you can use the svcs and svcadm commands to:

  • Display all the services currently running
  • Display information about individual services
  • Display dependencies between services
  • List the individual processes that constitute a service
  • Perform common administrative tasks such as starting a service and then monitoring it
  • Investigate system faults
  • It's a good way to become familiar with real-world uses of the SMF. And, perhaps, put you in the practice of fully developing your perspective before you are moved to unleash it upon the world.

    - Rick Ramsey and Cindy Swearingen
    Website
    Newsletter
    Facebook
    Twitter

    About

    Contributors:
    Rick Ramsey
    Kemer Thomson
    and members of the OTN community

    Search

    Archives
    « April 2014
    SunMonTueWedThuFriSat
      
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    12
    13
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
       
           
    Today
    Blogs We Like