* 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... - Stephen -- sch at sun.com http://blogs.sun.com/sch/