[OpenIndiana-discuss] Debugging SMF method

bentahyr at chez.com bentahyr at chez.com
Sun Mar 13 21:17:06 UTC 2016


Thank you this was quite handy to read. 

On 14/03/16 01:40, Volker A. Brandt wrote: 



<blockquote>
On 13/03/2016 04:34, bentahyr at chez.com wrote: 
<blockquote>
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. 
<blockquote>
Is there a way to load this environment so I can run the method script manually ? 
</blockquote>
. /lib/svc/share/smf_include.sh 
</blockquote>
Before that, you should read the section "Shell Programming Support"
in smf_method(5).


Regards -- Volker 
</blockquote>



More information about the openindiana-discuss mailing list