Re: Programs crash in Linux
If the program is not running in the background and you have access to launch terminal, type ctrl + c. If this does not work, try Ctrl + z to suspend the program and recover the shell. You can also use another terminal and run: $ killall -9 and the name of program. This will help you to end process your program in case of crash.
Re: Programs crash in Linux
If the command fails then to identify the pid of the program, run the ps command: $ ps -ax. The pid of the program is the first number. Otherwise, you can: $ kill -9 ps -ax . Under the X Window graphical environment the same method still works, but is often more difficult because the number of processes is important, and identify the right is not always obvious. The simplest is to use xkill is a kill in graphics mode: the cursor turns into a cross and then simply click on the window that does not respond immediately to kill the process crashed.
Re: Programs crash in Linux
You can get a crash analyzing tool for the Linux system. This tool analyzes the kernal crash which has occurred and the core dump which is created by the netdump. Crash is an tool which easy to use and gives out optimum result. It is has a enhanced gdb debugger which is based on SVR4 UNIX crash command. So this can give you a better output.
Re: Programs crash in Linux
LKCD is a set of Linux kernel patches and tools to save a copy of kernel memory when it panic. The kernel memory dump analysis allows afterward the cause of his panic. Thanks to the tools included in the package. Most commercial Unix systems come with similar tools. On Linux, however, this package is fairly new and should be added manually.
Re: Programs crash in Linux
Here are some list of killall command for Linux. Killall -z for context patter, -e for exact, i for interactive, -g for process group, s fo signal, w for wait, V for version, q for quiet, r for regexp, etc. This commands a end up a the process and sends a end signal to all the running commands. The signals are specified in SIGTERM or eght by -HUP.