Hi Bob, Sorry to bother. How should one echo an informational message so it gets captured to the SMF log for the service?
Best Regards, Jason On 2/21/07, Jason J. W. Williams <jasonjwwilliams at gmail.com> wrote: > Hi Bob, > > That's more than adequate. This idiot didn't grok for a man > page...just Googled site:sun.com for awhile...and other places. Thank > you very much. > > Best Regards, > Jason > > On 2/21/07, Bob Netherton <Bob.Netherton at sun.com> wrote: > > On Wed, 2007-02-21 at 19:12 -0700, Jason J. W. Williams wrote: > > > Hello, > > > > > > I'm having a heck of time finding the definitions/expectations for the > > > SMF return codes: > > > > Is the info in man smf_method not sufficient ? > > > > > SMF_EXIT_OK=0 > > > SMF_EXIT_ERR_FATAL=95 > > > SMF_EXIT_ERR_CONFIG=96 > > > SMF_EXIT_MON_DEGRADE=97 > > > SMF_EXIT_MON_OFFLINE=98 > > > SMF_EXIT_ERR_NOSMF=99 > > > SMF_EXIT_ERR_PERM=100 > > > > > > > examples: > > > > SMF_EXIT_OK 0 Method exited, performing its > > operation successfully. > > SMF_EXIT_ERR_FATAL 95 Method failed fatally and is > > unrecoverable without admin- > > istrative intervention. > > SMF_EXIT_ERR_CONFIG 96 Unrecoverable configuration > > error. A common condition > > that returns this exit status > > is the absence of required > > configuration files for an > > enabled service instance. > > > > > > > > > > >