Erik OShaughnessy <eriko at schwa.central.sun.com> wrote: >>> >>>I've been messing around with perl Kstat module trying to scratch an itch, >>>and I ended up writting a new module that adds object semantics. I've >>>since used it to proto-type lots of different small tools in a very short >>>amount of time. I'm hoping that other people might find it interesting. ... >>> The main goal of the "Sun::Solaris::Kstat2" module is provide short hand >>> notation and methods for aggregating and accessing data from groups of >>> related kstats.
Neat. Can you define your own aggregations? Your example is essentially "all matching kstats", but what if I wanted to create an aggregation based on a list of my choosing - could I do that? (For example, I might want to aggregate the disk I/O due to a database instance, and I know it uses these 7 partitions...) -Peter Tribble MRC Rosalind Franklin Centre for Genomics Research http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
