You can set flushing on for all counters of individual modules or all modules using the admin stats_config_module command. The default is “off.” The syntax is:
admin stats_config_module, { module_name | 'all_modules' }, {'on' | 'off' }
module_name is dist, dsi, rsi, sqm, sqt, sts, repagent, cm, or sts.
This command is most useful for single or nonthreaded modules, which have only one thread instance. For multithreaded modules, you have greater control over which threads are set on if you use the admin stats_config_connection and admin stats_config_route commands.
If a module’s flushing status is set on,
counters for all threads for that module will be set on also.