Hi Darren, On 6/15/06, Darren Reed <Darren.Reed at sun.com> wrote: > While I'm thinking of useful changes to SMF, can it capture all > output sent to the console, directly, by services? > > So if the startup scripts for a service do 'echo foo > /dev/console', > can that be captured?
/var/svc/logs/<service>:<instance>.log More details in svc.startd(1M) under the section "Logs and Corefiles". > And further to this, is it possible to generate a single output > file of all of the stdout/stderr from services as they boot up? > > Although this can be something like a plate of scrambled eggs, > it can be useful to have in a single place all of the output from > services started (or attempted to start) at bootup, in an order > that is roughly equivalent to that in which they were generated in. > Yes, I've seen this mode of operation elsewhere but they only had > a more developed SVR4 rc system, not SMF. SVR4 rc startups are typically very serial compared to SMF which is highly parallelized. -- Just me, Wire ...