DOKK / manpages / debian 10 / swatch / Swatchdog::Throttle.3pm.en
Swatchdog::Throttle(3pm) User Contributed Perl Documentation Swatchdog::Throttle(3pm)

  Swatchdog::Throttle - Perl extension for throttling and thresholding in swatchdog(1)

  use Swatchdog::Throttle;
  throttle(
           extra_cuts => @array_of_regular_expressions,
           hold_dhms => @DHMS,
           key => 'log'|<regex>|<user defined>,
           log_msg => <message>,
           threshold => <n>,
           time_from => 'realtime'|'timestamp',
           time_regex => <regex>,
          );

  throttle threshold=<n>,\
           delay=<hours>:<minutes>:<seconds>,\
           key=log|regex|<regex>

E. Todd Atkins, todd.atkins@stanfordalumni.org

perl(1), swatchdog(1).

2018-09-16 perl v5.26.2