obtain core dump by aborting the running apps

May 13th, 2007 mysurface

To obtain core dump, the line bellow is mandatory. ulimit -c unlimited Check out generate coredumps to help developer for debugging for more details of ulimit. Core dump will be generated automatically if a program crashed due to segmentation fault or some other reason. But core dump will not be generated if an application halt [...]

Posted in kill, pkill, ulimit | Hits: 74084 | 6 Comments »

kill process with care

November 18th, 2006 mysurface

A lots of people likes to do kill -9, which means kill a process by force. By specified -9, process will be terminated by force, which is very fast and confirm kill but it leaves hidden side effects. Refers to Useless use of kill -9, kill a process by specified -9 may leave child processes [...]

Posted in Common, kill, killall, pkill, sudo | Hits: 156854 | 19 Comments »