1827612 Members
3137 Online
109966 Solutions
New Discussion

kill

 
all star
Occasional Advisor

kill

How to force core dump using kill command.

Thanks
P
1 REPLY 1
Court Campbell
Honored Contributor

Re: kill

open a shell and do the following:

# ulimit -c 10000000
# bash <-- this is a sample, start your process
# ps -ef <-- find your pid
# kill -s 4 pid

enjoy your core dump. Also if your process is set to handle SIGILL then you may not get a dump.

Good luck.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"