1Swatchdog::Throttle(3)User Contributed Perl DocumentationSwatchdog::Throttle(3)
2
3
4
6 Swatchdog::Throttle - Perl extension for throttling and thresholding in swatchdog(1)
7
9 use Swatchdog::Throttle;
10
11 throttle(
12 extra_cuts => @array_of_regular_expressions,
13 hold_dhms => @DHMS,
14 key => 'log'|<regex>|<user defined>,
15 log_msg => <message>,
16 threshold => <n>,
17 time_from => 'realtime'|'timestamp',
18 time_regex => <regex>,
19 );
20
22 throttle threshold=<n>,\
23 delay=<hours>:<minutes>:<seconds>,\
24 key=log|regex|<regex>
25
28 E. Todd Atkins, todd.atkins@stanfordalumni.org
29
31 perl(1), swatchdog(1).
32
33
34
35perl v5.38.0 2023-08-04 Swatchdog::Throttle(3)