Hi Erik,

Thank you for the explanation.

The code needs to be written in 'C.' I appreciate your offer for help but let 
me first give it a shot on my own.

As you suggested, I can keep a list of kstat. However, can kstat_read get 
multiple values at a time or do I need to read one value at a time in a loop?

If I do read one value at a time, I would get a different value for the last 
data snapshot (ks_snaptime) even though I am reading all the counters in a 
tight loop. It is not a big issue. I just need to confirm that kstat_read can 
get only one value at a time.

Regards,
Peter
-- 
This message posted from opensolaris.org
_______________________________________________
observability-discuss mailing list
observability-discuss@opensolaris.org

Reply via email to