????1. ????core???
????core ????????? UNIX ????????????????????????????????????????????????????????????????д?? core ???????????????????????ж?λ??
????2. ??Щ??????????core???
???????????????к???????????????????????????SIG??????????????????Linux???????<bits/signum.h>?????ж??壩????????????????壬??Linux???У???????????shell???? kill -l ??????????Щ?????????????????????????????????????????????д????
???????????????????????????????????????????????????????????????????κδ???????????????SIGKILL??SIGSTOP??????????????????????????????????????????????????????????
?????????????????????????????????????????????????????????????????????????????????д???????????????????????kill????????SIGTERM????????????????SIGKILL??SIGSTOP????
?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
????Linux????к???????????о?????????п??????core?????????????UNIX???????????????棩

?????????????ж???????????????????????????????£?????????Щ?????????????????????y????core??????y??????????????Щ??????????????core????У???
????3. ??ο???????core???
??????UNIX???????????????????????????core???????????????????г???????????????????core???????UNIX??????????????????????ulimit???????????ú???????С???????????????????????????????????????core??С?????????? ulimit -a ??????????????е??????С????????????????????????????????
allan@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) 7725
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) 7725
virtual memory          (kbytes?? -v) unlimited
file locks                      (-x) unlimited
???????????????????????????У??????????“core file size”???????????“??blocks?? -c??”????????????“0”??????е???????“core??????С?????0???????core???/??????core?????????λ??blocks?????ulimit -c???????????”???????????????????????????????????????????????δ?С????????????С??????????????????1024?????С?8192KB????
???????????????????????? ulimit -c core_size/unlimited ?????core??????С?????core_size??λ?????????core_size?0????????????core?????unlimited?????core?????С?????????????????????????????????????????????????????????????????????д??/home/allan/.bashrc??????????allan?????Ч???????д????????????????棬???????????Ч??????/etc/.profile??