> I have some doubts in usage of kstat framework (kstat_open; > kstat_lookup) regarding SCTP statistics: > > ï Do we have option to reset the kernel statistics in our program? > > ï When I run the command "kstat sctp 10" on my Solaris system, it > provides me the statistics in every 10 seconds. So can I have the same > option when using the kstat framework in my implementation? If yes, can > you please tell me the workaround for that?
I know this wasn't your question, but at least the "sctpstat" kstats are private (debugging) kstats that are unstable and subject to being changed incompatibly at any time, so I hope you're not trying to consume those. I'm not sure what the commitment level of the other SCTP kstats are (I don't see a manpage for them), but Kacheong (CC'd) will know. -- meem _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code