diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-04-24 14:48:11 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-04-24 14:48:11 +0200 |
commit | e8bb08d1332e7d3a2f41caa15f4155920325e2ac (patch) | |
tree | 52148e6cf1e8647750c5bddb49902ca8287f9bbb /lib | |
parent | 8dbdc21b25adc3a0ada29b26823fb9b89d603f23 (diff) | |
parent | a75a12e96596bb0af906a4ac303dd04584c22cf0 (diff) | |
download | otp-e8bb08d1332e7d3a2f41caa15f4155920325e2ac.tar.gz otp-e8bb08d1332e7d3a2f41caa15f4155920325e2ac.tar.bz2 otp-e8bb08d1332e7d3a2f41caa15f4155920325e2ac.zip |
Merge branch 'egil/core-on-heart-tmo/OTP-12613'
* egil/core-on-heart-tmo/OTP-12613:
kernel: Document heart environment HEART_KILL_SIGNAL
erts: Enable different abort signal from heart
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kernel/doc/src/heart.xml | 10 |
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>: |