Thank you for your response.
Yes, this is Sun OS kstat command.
“So how did you figure this much out?” “Were you reading the source code too, or did you have some kstat reference?”
Well, our product performance is monitored by a third party SW that we have no detail information about. This monitoring SW uses kstat as we have learned and data coming out of this monitor concern our customer. We did monitor our system (cpu utilization) using top, prstat, sar but we do not see spikes in cpu utilization as reported by this monitor based on kstat. Our goal is to understand kstat data.
I used man pages for kstat and learned syntax but it doesn't describe output data in any way.
Also I used my intuition to figure out what data I am looking at.
Actually we have more than 10 CPUs and yes the example is for CPU #10.
“Roughly, you read the numbers once. And then you wait. And then you read them again. Then you subtract the first numbers from the second to get an array of deltas.”
“You add the deltas up and you have total number of times that any of the counters for that cpu incremented during the wait period. Now you figure out how much of the total each piece is. That gives the percentages over the wait period.”
I am not sure what you mean here but I guess it is too late for me to get it. I will re-read it tomorrow morning.
”You know, you could just run "sar 1 4" or something.” Yeah, sar is nice but not consistent with data we see on the third party monitor with a sampling rate of 15 seconds.