(I'm catching up on some old SMF mail that I've been meaning to get to for months. You might see ancient threads resurrected by me for the next few days.)
Peter van Gemert writes: > Hi Darren, > > Thanks for your addition. I put the -c option on my script. > > Version 1.1 of the svclog command can be found at > http://www2.petervg.nl/software This is cool. I'd like to eventually include similar functionality in OpenSolaris. The problem is that we'd like these log files to be more structured so you can actually do things like look for messages which precipitated a certain failure, or look at unified output for multiple services, or just look for restarter output, etc. Today, the logfiles are quite unstructured (and unstable in their format), so we can't define a command which does everything I detailed above in addition to what you've suggested. So, the tricky part is to figure out how to structure the command, options, and output in order to be able to evolve it for the long haul too. Peter, I'm hoping you'll be willing to contribute to discussion and hopefully code too in order to make this happen. For right now, I'd like to snag a link to this and include it on a new "useful utilities" page. Is that OK with you, Peter? The next problem will be that the page is a little sparse. :) So, if anyone else has SMF utility programs they want to contribute, let us know. OSI-approved licenses are strongly preferred, and required if you need us to host the code rather than just including a link. liane -- Liane Praza, Solaris Kernel Development liane.praza at sun.com - http://blogs.sun.com/lianep