|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
Programs crash in Linux Hi, What to do if a program is crashed in Linux. Like in Windows we run the Task Manager. Then in the process tab we select the service and then we click on End process. How the same can be done in Linux. There are some command but I am unfamiliar with them. How to run them and get rid of annoying services which is freezing the system. |
#2
| |||
| |||
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. |
#3
| |||
| |||
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. |
#4
| |||
| |||
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. |
#5
| |||
| |||
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. |
#6
| |||
| |||
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. |
![]() |
|
Tags: crash, crash analyzing tool, debugger, linux, program crash |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Run windows programs in Ubuntu Linux | Computer_Freak | Tips & Tweaks | 1 | 05-06-2011 08:08 AM |
Which programs should be ported to Linux? | Daamodar | Operating Systems | 3 | 11-11-2010 06:17 PM |
How to Uninstall programs in Linux | Gillian Anderson | Operating Systems | 5 | 24-03-2010 11:34 AM |
Good Paint programs for Linux? | Endowed | Operating Systems | 4 | 15-03-2010 05:24 PM |
Programs get Crash on XML Files | Anwar | Software Development | 3 | 23-04-2009 01:54 PM |