* Darren J Moffat <Darren.Moffat at sun.com> [2007-04-11 12:23]: > Stephen Hahn wrote: > >* Michael Barrett <Michael.Barrett at sun.com> [2007-04-11 11:58]: > >>Does SMF have any concept of how many times it has restarted a service? > >>Both automatically and via svcadm? In other words, can you ask it > >>that or look somewhere and see a count incremented? Note looking at the > >>/var/svc/log/<name>:default.log and counting the start procedures is not > >>what I'm looking for. > > > > Not completely, and definitely not via a public API. > > Requirements/ideas would be welcome. Richard Elling's had some ideas > > on this topic; there's an RFE in the bug database somewhere. And I > > keep wanting to do service availability accounting, but that may be > > more heavyweight than you're looking for... > > Would having SMF send this info to FMA make sense ? After all a restart > that SMF did could be a fault - and SMF knows the difference between the > fault case and that admin action case. Yep, that's one of the possibilities. If anything, it's the default choice from the original architecture. But I am curious to see how people would use the data; additional or alternative APIs may be needed...
- Stephen -- sch at sun.com http://blogs.sun.com/sch/