|
|
@ -14,7 +14,7 @@ |
|
|
|
. ftr VB CB |
|
|
|
. ftr VBI CBI |
|
|
|
.\} |
|
|
|
.TH "earlyoom" "8" "August 2024" "1.8.2" "Linux System Administrator\[cq]s Manual" |
|
|
|
.TH "earlyoom" "8" "September 2025" "1.9.0" "Linux System Administrator\[cq]s Manual" |
|
|
|
.hy |
|
|
|
.SH NAME |
|
|
|
.PP |
|
|
@ -157,7 +157,7 @@ systembus-notify (https://github.com/rfjakob/systembus-notify) running |
|
|
|
as your user. |
|
|
|
.SS -N /PATH/TO/SCRIPT |
|
|
|
.PP |
|
|
|
Run the given script for each process killed. |
|
|
|
Run the given script for each process killed, afterwards. |
|
|
|
Must be an absolute path. |
|
|
|
.PP |
|
|
|
Within the script, information about the killed process can be obtained |
|
|
@ -175,6 +175,23 @@ EARLYOOM_UID UID of the user running the process |
|
|
|
WARNING: \f[V]EARLYOOM_NAME\f[R] can contain spaces, newlines, special |
|
|
|
characters and is controlled by the user, or it can be empty! |
|
|
|
Make sure that your notification script can handle that! |
|
|
|
.SS -P /PATH/TO/SCRIPT |
|
|
|
.PP |
|
|
|
Run the given script for each process killed, beforehand. |
|
|
|
Must be an absolute path. |
|
|
|
.PP |
|
|
|
See \f[V]-N\f[R], it behaves in the same way except being run before the |
|
|
|
process is killed. |
|
|
|
.PP |
|
|
|
Note that there is a small delay (200 milliseconds) in killing the |
|
|
|
chosen victim to give some room for this program to be spawned and do |
|
|
|
something meaningful. |
|
|
|
The invoked program has to be very fast to gather information from the |
|
|
|
running process before it gets killed. |
|
|
|
.PP |
|
|
|
Any such delay, and the extra resources taken by the spawned process, |
|
|
|
always take some toll and further stress the already stressed system. |
|
|
|
Therefore, the invoked process should be as lean and fast as possible. |
|
|
|
.SS -g |
|
|
|
.PP |
|
|
|
Kill all processes that have same process group id (PGID) as the process |
|
|
@ -248,11 +265,6 @@ dry run (do not kill any processes) |
|
|
|
.SS --syslog |
|
|
|
.PP |
|
|
|
use syslog instead of std streams. |
|
|
|
.PP |
|
|
|
The --syslog option may be useful for systems that don\[cq]t run |
|
|
|
systemd. |
|
|
|
See https://github.com/rfjakob/earlyoom/pull/292 for some background |
|
|
|
info. |
|
|
|
.SS -h, --help |
|
|
|
.PP |
|
|
|
this help text |
|
|
@ -315,9 +327,9 @@ process gets an effective \f[V]oom_score\f[R] of at least 300. |
|
|
|
See https://github.com/rfjakob/earlyoom/issues/159 for details. |
|
|
|
.SH AUTHOR |
|
|
|
.PP |
|
|
|
The author of earlyoom is Jakob Unterwurzacher <jakobunt@gmail.com>. |
|
|
|
The author of earlyoom is Jakob Unterwurzacher <jakobunt\[at]gmail.com>. |
|
|
|
.PP |
|
|
|
This manual page was written by Yangfl <mmyangfl@gmail.com>, for the |
|
|
|
This manual page was written by Yangfl <mmyangfl\[at]gmail.com>, for the |
|
|
|
Debian project (and may be used by others). |
|
|
|
.SH SEE ALSO |
|
|
|
.PP |
|
|
|