Everett F Batey writes:
> It would facilitate on the fly debugging and ability set echo 'IT DIED HERE' 
> messages in the boot up as well as the restart sequences .. I'm sure SVC / SV
> CADM is a great step but for us old guys who dont get to the Sun class anymor
> e or have a big support group in Solaris,  learning to live with the improvem
> ents is daunting without the ability to insert test marks in the sequences.  

Messages emitted to stdout/stderr are captured in the service logfile, 
which allows them to be available for postmortem debugging.

Additionally, you can always either emit something directly to console 
(redirect using >/dev/msglog), or use the smf_console() shell funtion
available in /lib/svc/share/smf_include.sh in your methods to make sure
your output goes to both the console *and* the per-service logfile.

liane
-- 
Liane Praza, Solaris Kernel Development
liane.praza at sun.com - http://blogs.sun.com/lianep



Reply via email to