diff options
author | Lei YU <mine260309@gmail.com> | 2019-02-11 15:11:59 +0800 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2019-03-20 16:29:20 +0000 |
commit | 48ec067c7069603cc6d4daa40f13fcb4f5607dd2 (patch) | |
tree | 398b0e0377ad6a1c3daf02a453fb0a49ea2cf6e7 | |
parent | ace9cd140d93e92c82b9bd705efea599cc5118e6 (diff) | |
download | openbmc-docs-48ec067c7069603cc6d4daa40f13fcb4f5607dd2.tar.gz openbmc-docs-48ec067c7069603cc6d4daa40f13fcb4f5607dd2.zip |
cheatsheet: Add ulimit for coredump
Add `ulimit -c unlimited` to generate coredump, otherwsie the default
coredump limit is 0 and it will not be generated.
Change-Id: I3ca8a4ebc3e9cf6fbf1e45e9077315affb9adaa9
Signed-off-by: Lei YU <mine260309@gmail.com>
-rw-r--r-- | cheatsheet.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cheatsheet.md b/cheatsheet.md index e0e88a8..5e1295b 100644 --- a/cheatsheet.md +++ b/cheatsheet.md @@ -180,6 +180,7 @@ To use GDB: By default coredump is disabled in OpenBMC. To enable coredump: ``` echo '/tmp/core_%e.%p' | tee /proc/sys/kernel/core_pattern +ulimit -c unlimited ``` ## Cleaning up read-write file system changes |