X

Step Up to Modern Cloud Development

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:























svcsGet detailed views of the service state of all service instances in the service configuration repository
svcadmPerform common service management tasks, such as enabling, disabling, or restarting service instances
svcfgDisplay and manipulate the contents of the service configuration repository
svcpropRetrieves property values from the service configuration repository with an output format appropriate for use in shell scripts
inetadmObserve 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

    Be the first to comment

    Comments ( 0 )
    Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha
    Oracle

    Integrated Cloud Applications & Platform Services