File: SIGNALS

package info (click to toggle)
pmacct 0.14.0-1.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,996 kB
  • sloc: ansic: 60,798; sh: 636; makefile: 286
file content (81 lines) | stat: -rw-r--r-- 3,255 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
SIGNALS:
Here follows a list of supported signals and their meaning; remember
that pmacct core says goodbye when its last child dies or is terminated.


pmacctd/nfacctd/sfacctd Core process:
SIGCHLD:	used to handle gracefully his loved child processes;
SIGHUP:         reopens the logging infrastructure. Works with both syslog and logfiles
SIGUSR1:        returns various statistics via either console or syslog; the syslog level reserved
		for such purpose is NOTICE; the facility is selected through configuration (ie key
		'syslog'). It works for all pmacctd/nfacctd/sfacctd;
SIGUSR2:	if 'refresh_maps' configuration directive is enabled it causes Core Process-based
		maps to be reloaded (ie. Pre-Tagging, BGP source peer ASN, NetFlow/sFlow agent to
		BGP peer, BGP MD5, etc.);
SIGINT:		ignored if the daemon is started in background; otherwise the signal is propagated
		to each running plugin (which is in turn gracefully terminated);
SIGTERM:	not handled (which means it follows the default behaviour for the OS) if the daemon
		is started in background; else it works like SIGINT;
SIGPIPE:	ignored;

MySQL plugin process:
SIGPIPE:	ignored;
SIGCHLD:	ignored;
SIGHUP:		inherited by Core Process; 
SIGUSR1:	ignored;
SIGUSR2:        if 'refresh_maps' configuration directive is enabled it causes the Ports and Networks
		maps to be reloaded;
SIGINT:		causes the process to exit gracefully;	

PGSQL plugin process:
SIGPIPE:	ignored;
SIGCHLD:        ignored; 
SIGHUP:         inherited by Core Process; 
SIGUSR1:	ignored;
SIGUSR2:        if 'refresh_maps' configuration directive is enabled it causes the Ports and Networks
                maps to be reloaded;
SIGINT:         causes the process to exit gracefully;

In-memory table process:
SIGPIPE:        ignored;
SIGCHLD:	ignored; 
SIGHUP:         inherited by Core Process; 
SIGUSR1:	ignored;
SIGUSR2:        if 'refresh_maps' configuration directive is enabled it causes the Ports and Networks
                maps to be reloaded;
SIGINT:         causes the process to exit gracefully;

Print process:
SIGPIPE:        ignored;
SIGCHLD:        ignored;
SIGHUP:         inherited by Core Process;
SIGUSR1:        ignored;
SIGUSR2:        if 'refresh_maps' configuration directive is enabled it causes the Ports and Networks
                maps to be reloaded;
SIGINT:         causes the process to exit gracefully;

NetFlow probe process:
SIGPIPE:        ignored;
SIGCHLD:        ignored;
SIGHUP:         inherited by Core Process;
SIGUSR1:        ignored;
SIGUSR2:        if 'refresh_maps' configuration directive is enabled it causes the Ports and Networks
                maps to be reloaded;
SIGINT:         causes the process to exit gracefully;

sFlow probe process:
SIGPIPE:        ignored;
SIGCHLD:        ignored;
SIGHUP:         inherited by Core Process;
SIGUSR1:        ignored;
SIGUSR2:        if 'refresh_maps' configuration directive is enabled it causes the Ports and Networks
                maps to be reloaded;
SIGINT:         causes the process to exit gracefully;

Tee process:
SIGPIPE:        ignored;
SIGCHLD:        ignored;
SIGHUP:         inherited by Core Process;
SIGUSR1:        ignored;
SIGUSR2:        ignored;
SIGINT:         causes the process to exit gracefully;