标签:VID blog priority dia sage .bashrc ted strong shell
1.check core dump;
ulimit -c
or
ulimit -a
nvidia@tegra-ubuntu:~$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 31156 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 31156 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited
2.set
nvidia@tegra-ubuntu:~$ ulimit -c unlimited nvidia@tegra-ubuntu:~$ ulimit -c unlimited nvidia@tegra-ubuntu:~$ ulimit -c 1024 nvidia@tegra-ubuntu:~$ ulimit -c 1024
$ulimit -c unlimited (只对当前shell进程有效)
或在~/.bashrc 的最后加入: ulimit -c unlimited (一劳永逸)
3.gdb with core
re:
1.https://www.cnblogs.com/bodhitree/p/5850212.html
标签:VID blog priority dia sage .bashrc ted strong shell
原文地址:https://www.cnblogs.com/happyamyhope/p/9550638.html