<br><br><div class="gmail_quote">On Thu, Jun 18, 2009 at 8:07 PM, Ray Leventhal <span dir="ltr"><<a href="mailto:ubuntu@swhi.net">ubuntu@swhi.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">GaryT wrote:<br>
> I want to learn how to identify and then stop a process - for example<br>
> today I tried to restart a program that had just crashed and Ubuntu gave<br>
> me a message along the lines of "XYZ is still running but not<br>
> responding. Stop the process or reboot before trying again" or words to<br>
> that effect.<br>
><br>
> Rebooting was highly undesirable because it meant shutting down other<br>
> programs.  Too bad!<br>
><br>
> Can someone help save the search and point me to some appropriate<br>
> reading matter?<br>
> Much appreciated<br>
><br>
> GT<br>
><br>
><br>
><br>
><br>
><br>
</div>Hi Gary,<br>
<br>
In terminal, try this:<br>
<br>
ps auxxxx|grep XYZ<br>
<br>
the first column of the response will be the process ID (PID) of the<br>
offending process.  Once that's known you can<br>
<br>
sudo kill <pid><br>
<br>
and you'll have stopped the hung process.<br>
</blockquote><div><br>Or you can directly call : <br>sudo killall -9 XYZ<br><br>This will kill all instances of the process XYZ. Then start XYZ as you normally would.<br><br>Thanks,<br>Raseel <br></div></div><br>