author | Michael Krelin <hacker@klever.net> | 2004-07-23 20:40:46 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-23 20:40:46 (UTC) |
commit | 546858a1e4d13d179a6af27b474e1396cfdf0c29 (patch) (unidiff) | |
tree | ac19b0ff5e4b3164ad5375bda112a9d6d2f88c2b /man | |
parent | 76921288a0aa39acb53102863523c388b5d0f9ee (diff) | |
download | dudki-546858a1e4d13d179a6af27b474e1396cfdf0c29.zip dudki-546858a1e4d13d179a6af27b474e1396cfdf0c29.tar.gz dudki-546858a1e4d13d179a6af27b474e1396cfdf0c29.tar.bz2 |
the ability to check/kill/reload any of the processes being monitored added.
-rw-r--r-- | man/dudki.8.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/man/dudki.8.in b/man/dudki.8.in index 3011034..05db733 100644 --- a/man/dudki.8.in +++ b/man/dudki.8.in | |||
@@ -1,123 +1,128 @@ | |||
1 | .TH dudki 8 "June 9th, 2004" "dudki(8)" "Klever Group (http://www.klever.net/)" | 1 | .TH dudki 8 "June 9th, 2004" "dudki(8)" "Klever Group (http://www.klever.net/)" |
2 | .hla en | 2 | .hla en |
3 | .ds longopt @HAVE_GETOPT_LONG@ | 3 | .ds longopt @HAVE_GETOPT_LONG@ |
4 | 4 | ||
5 | .SH NAME | 5 | .SH NAME |
6 | 6 | ||
7 | dudki \- a process monitoring daemon | 7 | dudki \- a process monitoring daemon |
8 | 8 | ||
9 | .SH SYNOPSYS | 9 | .SH SYNOPSYS |
10 | 10 | ||
11 | \fBdudki\fR [\fB-h\fR] | 11 | \fBdudki\fR [\fB-h\fR] |
12 | .if \*[longopt] [\fB--help\fR] [\fB--usage\fR] | 12 | .if \*[longopt] [\fB--help\fR] [\fB--usage\fR] |
13 | [\fB-V\fR] | 13 | [\fB-V\fR] |
14 | .if \*[longopt] [\fB--version\fR] | 14 | .if \*[longopt] [\fB--version\fR] |
15 | [\fB-L\fR] | 15 | [\fB-L\fR] |
16 | .if \*[longopt] [\fB--license\fR] | 16 | .if \*[longopt] [\fB--license\fR] |
17 | [\fB-f\fR \fIconfigfile\fR] | 17 | [\fB-f\fR \fIconfigfile\fR] |
18 | .if \*[longopt] [\fB--config=\fR\fIconfigfile\fR] | 18 | .if \*[longopt] [\fB--config=\fR\fIconfigfile\fR] |
19 | [\fB-k\fR] | 19 | [\fB-k\fR] |
20 | .if \*[longopt] [\fB--kill\fR] | 20 | .if \*[longopt] [\fB--kill\fR] |
21 | [\fB-r\fR] | 21 | [\fB-r\fR] |
22 | .if \*[longopt] [\fB--reload\fR] | 22 | .if \*[longopt] [\fB--reload\fR] |
23 | [\fB-c\fR] | 23 | [\fB-c\fR] |
24 | .if \*[longopt] [\fB--check\fR] | 24 | .if \*[longopt] [\fB--check\fR] |
25 | [\fB-e\fR] | 25 | [\fB-e\fR] |
26 | .if \*[longopt] [\fB--ensure\fR] | 26 | .if \*[longopt] [\fB--ensure\fR] |
27 | [\fB-t\fR] | 27 | [\fB-t\fR] |
28 | .if \*[longopt] [\fB--test\fR] | 28 | .if \*[longopt] [\fB--test\fR] |
29 | [\fI<process-list>\fR] | ||
29 | 30 | ||
30 | .SH DESCRIPTION | 31 | .SH DESCRIPTION |
31 | 32 | ||
32 | dudki daemon is designed to run in the background and periodically | 33 | dudki daemon is designed to run in the background and periodically |
33 | check if certain processes specified in the configuration file are | 34 | check if certain processes specified in the configuration file are |
34 | running. If a process is detected as dead dudki tries to restart it | 35 | running. If a process is detected as dead dudki tries to restart it |
35 | using the command line specified in the configuration file and notifies | 36 | using the command line specified in the configuration file and notifies |
36 | the specified contact (currently only via email). | 37 | the specified contact (currently only via email). |
37 | 38 | ||
38 | .SH OPTIONS | 39 | .SH OPTIONS |
39 | 40 | ||
40 | .TP | 41 | .TP |
41 | .ie \*[longopt] \fB-f\fR \fIconfigfile\fR, \fB--config=\fR\fIconfigfile\fR | 42 | .ie \*[longopt] \fB-f\fR \fIconfigfile\fR, \fB--config=\fR\fIconfigfile\fR |
42 | .el \fB-f\fR \fIconfigfile\fR | 43 | .el \fB-f\fR \fIconfigfile\fR |
43 | Specify the configuration file to use (default is | 44 | Specify the configuration file to use (default is |
44 | \fI@sysconfdir@/dudki.conf\fR). | 45 | \fI@sysconfdir@/dudki.conf\fR). |
45 | .TP | 46 | .TP |
46 | .ie \*[longopt] \fB-k\fR, \fB--kill\fR | 47 | .ie \*[longopt] \fB-k\fR, \fB--kill\fR |
47 | .el \fB-k\fR | 48 | .el \fB-k\fR |
48 | Stop the running instance by sending the \fBSIGTERM\fR signal. | 49 | Stop the running instance by sending the \fBSIGTERM\fR signal. If no process |
50 | name specified on the command line, dudki kills his own running instance. | ||
49 | .TP | 51 | .TP |
50 | .ie \*[longopt] \fB-r\fR, \fB--reload\fR | 52 | .ie \*[longopt] \fB-r\fR, \fB--reload\fR |
51 | .el \fB-r\fR | 53 | .el \fB-r\fR |
52 | Reload the running instance by sending the \fBSIGHUP\fR signal. | 54 | Reload the running instance by sending the \fBSIGHUP\fR signal. Like with |
55 | \fB-k\fR, if no process name specified on the command line, dudki sends | ||
56 | \fBSIGHUP\fR to his own running instance. | ||
53 | .TP | 57 | .TP |
54 | .ie \*[longopt] \fB-c\fR, \fB--check\fR | 58 | .ie \*[longopt] \fB-c\fR, \fB--check\fR |
55 | .el \fB-c\fR | 59 | .el \fB-c\fR |
56 | Check if dudki is running. Exit with non-zero status if not. | 60 | Check if dudki is running. Exit with non-zero status if not. The same target |
61 | rules as in \fB-k\fR and \fB-r\fR apply here. | ||
57 | .TP | 62 | .TP |
58 | .ie \*[longopt] \fB-e\fR, \fB--ensure\fR | 63 | .ie \*[longopt] \fB-e\fR, \fB--ensure\fR |
59 | .el \fB-e\fR | 64 | .el \fB-e\fR |
60 | Ensure that dudki is running. Load, if not. Useful for running as a | 65 | Ensure that dudki is running. Load, if not. Useful for running as a |
61 | cron job once in a while. If the daemon is running runs quietly | 66 | cron job once in a while. If the daemon is running runs quietly |
62 | providing no output. | 67 | providing no output. |
63 | .TP | 68 | .TP |
64 | .ie \*[longopt] \fB-t\fR, \fB--test\fR | 69 | .ie \*[longopt] \fB-t\fR, \fB--test\fR |
65 | .el \fB-t\fR | 70 | .el \fB-t\fR |
66 | Check the syntax of configuration file and exit. | 71 | Check the syntax of configuration file and exit. |
67 | .TP | 72 | .TP |
68 | .ie \*[longopt] \fB-h\fR, \fB--help\fR, \fB--usage\fR | 73 | .ie \*[longopt] \fB-h\fR, \fB--help\fR, \fB--usage\fR |
69 | .el \fB-h\fR | 74 | .el \fB-h\fR |
70 | Display short usage message and exit. | 75 | Display short usage message and exit. |
71 | .TP | 76 | .TP |
72 | .ie \*[longopt] \fB-V\fR, \fB--version\fR | 77 | .ie \*[longopt] \fB-V\fR, \fB--version\fR |
73 | .el \fB-V\fR | 78 | .el \fB-V\fR |
74 | Report version and exit. | 79 | Report version and exit. |
75 | .TP | 80 | .TP |
76 | .ie \*[longopt] \fB-L\fR, \fB--license\fR | 81 | .ie \*[longopt] \fB-L\fR, \fB--license\fR |
77 | .el \fB-L\fR | 82 | .el \fB-L\fR |
78 | Show licensing terms. | 83 | Show licensing terms. |
79 | 84 | ||
80 | .SH EXIT STATUS | 85 | .SH EXIT STATUS |
81 | 86 | ||
82 | Zero in case of success, non-zero otherwise. | 87 | Zero in case of success, non-zero otherwise. |
83 | 88 | ||
84 | .SH FILES | 89 | .SH FILES |
85 | .TP | 90 | .TP |
86 | @sysconfdir@/dudki.conf | 91 | @sysconfdir@/dudki.conf |
87 | Default configuration file. | 92 | Default configuration file. |
88 | .TP | 93 | .TP |
89 | /var/run/dudki.pid | 94 | /var/run/dudki.pid |
90 | Default pid-file for the dudki process. | 95 | Default pid-file for the dudki process. |
91 | 96 | ||
92 | .SH AUTHOR | 97 | .SH AUTHOR |
93 | 98 | ||
94 | Written by Michael 'hacker' Krelin <hacker@klever.net> | 99 | Written by Michael 'hacker' Krelin <hacker@klever.net> |
95 | 100 | ||
96 | .SH COPYRIGHT | 101 | .SH COPYRIGHT |
97 | 102 | ||
98 | Copyright (c) 2004 Klever Group (http://www.klever.net/) | 103 | Copyright (c) 2004 Klever Group (http://www.klever.net/) |
99 | 104 | ||
100 | Permission is hereby granted, free of charge, to any person obtaining a copy of | 105 | Permission is hereby granted, free of charge, to any person obtaining a copy of |
101 | this software and associated documentation files (the "Software"), to deal in | 106 | this software and associated documentation files (the "Software"), to deal in |
102 | the Software without restriction, including without limitation the rights to | 107 | the Software without restriction, including without limitation the rights to |
103 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | 108 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies |
104 | of the Software, and to permit persons to whom the Software is furnished to do | 109 | of the Software, and to permit persons to whom the Software is furnished to do |
105 | so, subject to the following conditions: | 110 | so, subject to the following conditions: |
106 | 111 | ||
107 | The above copyright notice and this permission notice shall be included in all | 112 | The above copyright notice and this permission notice shall be included in all |
108 | copies or substantial portions of the Software. | 113 | copies or substantial portions of the Software. |
109 | 114 | ||
110 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | 115 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
111 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 116 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
112 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | 117 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
113 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 118 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
114 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 119 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
115 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | 120 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
116 | SOFTWARE. | 121 | SOFTWARE. |
117 | 122 | ||
118 | .SH BUGS | 123 | .SH BUGS |
119 | 124 | ||
120 | You tell me. Send reports to <dudki-bugs@klever.net> | 125 | You tell me. Send reports to <dudki-bugs@klever.net> |
121 | 126 | ||
122 | .SH SEE ALSO | 127 | .SH SEE ALSO |
123 | \fBdudki.conf\fR(5) | 128 | \fBdudki.conf\fR(5) |