I am trying to do some hour by hour system performance monitoring on the system. Some of the things I am looking at are shown by running onstat -p. In order to make my calculations easier, I was thinking of writing a script to run onstat -p and then onstat -z so my next interval would reflect just the current period. Are there any reasons that I shouldn't do this OR is there a better way?
TIA
TIA