You can customize the operations performed by poolstat. You can set the sampling interval for the report and specify the number of times that statistics are repeated:
Tune the intervals for the periodic operations performed by poolstat. All intervals are specified in seconds.
Specify the number of times that the statistics are repeated. By default, poolstat reports statistics only once.
If interval and count are not specified, statistics are reported once. If interval is specified and count is not specified, then statistics are reported indefinitely.