[OpenIndiana-discuss] Debugging SMF method

Volker A. Brandt vab at bb-c.de
Sun Mar 13 12:40:17 UTC 2016


> On 13/03/2016 04:34, bentahyr at chez.com wrote:
> > I'm working on the SMF service and I need to run method script but I can't because
>  > if I run it by hand I don't have the SMF variable and env loaded.
> > Is there a way to load this environment so I can run the method script manually ?
> 
> . /lib/svc/share/smf_include.sh

Before that, you should read the section "Shell Programming Support"
in smf_method(5).


Regards -- Volker
-- 
------------------------------------------------------------------------
Volker A. Brandt               Consulting and Support for Oracle Solaris
Brandt & Brandt Computer GmbH                   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANY            Email: vab at bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513              Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

"When logic and proportion have fallen sloppy dead"



More information about the openindiana-discuss mailing list