aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-04-20 15:28:33 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-04-20 15:28:33 +0200
commita75a12e96596bb0af906a4ac303dd04584c22cf0 (patch)
treefab2cea07646a764087b856e9f328282e8af1fc6 /lib
parent5dead30ea35a1cd97ebc8dd8f12e27f0a27348af (diff)
downloadotp-a75a12e96596bb0af906a4ac303dd04584c22cf0.tar.gz
otp-a75a12e96596bb0af906a4ac303dd04584c22cf0.tar.bz2
otp-a75a12e96596bb0af906a4ac303dd04584c22cf0.zip
kernel: Document heart environment HEART_KILL_SIGNAL
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/doc/src/heart.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/kernel/doc/src/heart.xml b/lib/kernel/doc/src/heart.xml
index 3ec33d2f18..a424d2978e 100644
--- a/lib/kernel/doc/src/heart.xml
+++ b/lib/kernel/doc/src/heart.xml
@@ -78,6 +78,16 @@
<pre>
% <input>erl -heart -env ERL_CRASH_DUMP_SECONDS 10 ...</input></pre>
+
+ <p> If a regular core dump is wanted, let heart know by setting the kill signal to abort
+ using the environment variable <c><![CDATA[HEART_KILL_SIGNAL=SIGABRT]]></c>.
+ If unset, or not set to <c><![CDATA[SIGABRT]]></c>, the default behaviour will be a kill
+ signal using <c><![CDATA[SIGKILL]]></c>.
+ </p>
+
+ <pre>
+% <input>erl -heart -env HEART_KILL_SIGNAL SIGABRT ...</input></pre>
+
<p>
Furthermore, <c><![CDATA[ERL_CRASH_DUMP_SECONDS]]></c> has the following behaviour on
<c>heart</c>: