I want to analyse the outcome of my application process when it crashes. How can I manually crash a single process in Linux?
Asked
Active
Viewed 1.4k times
2 Answers
9
You could try using kill(1) and for example signal SIGSEGV
(segmentation violation), SIGBUS (bus error) etc. Other useful signals may exist.

user9517
- 115,471
- 20
- 215
- 297
0
You can try to send a SIGILL signal to your process :
kill -SIGKILL PID
To get the pid of a Running-Program
syntax:
pgrep program_name
pidof program_name
You can also try this command :
kill -SIGKILL $(pidof processName)

romain.k
- 1
- 2
-
or use "killall" if you dont have the pid, it accepts process names – weberik Jan 03 '17 at 18:43