To turn on sampling for an indefinite period, configure Replication Server using the stats_sampling parameter.
configure replication server set stats_sampling to "on"
configure replication server set stats_sampling to "off"
Then, when you want to view data on the computer screen or send the collected data to the RSSD, use admin stats.
For example, to collect statistics for two consecutive 24-hour periods, reporting results to the computer screen, you might follow this sequence:
Turn off sampling to ensure Replication Server does not collect statistics as statistics are dumped to the screen.
configure replication server set stats sampling to "off"
Dump statistics to the screen.
admin statistics, "all"
Clear all statistics:
admin statistics, reset
Turn on sampling:
configure replication server set stats_sampling to "on"