From: Colin B. on
Nasser M. Abbasi <nma(a)12000.org> wrote:
> coming from windows to linux, I find that I miss the task-manager tool
> on windows.
>
> I am running fedora 13, and I like the linux tools below the desktop
> (shell commands) and all the other command line development tools, and
> that is the main reason I am moving to linux.
>
> But I am finding that sometimes some desktop applications hangs and
> something goes wrong. On windows, when this happens, I start the
> task-manager, find the process or the application, and kill it.
>
> For example, now I have firefox froze on me on fedora, I was in the
> middle of saving a page as web page.
>
> I know I can use ps -a, find the process id, and use kill, but sometimes
> that does not kill the process, and now when I did ps -a, it did not
> even list firefox
>
> ps -a | grep -i firefox
>
> even thought I started it, and I can see it there froze on the desktop.

Try ps -ef or ps -A instead. It should show up there.

Also, top is useful for showing processes.

Colin
From: Frank Steinmetzger on
Nasser M. Abbasi wrote:

> On 06/01/2010 02:59 PM, Frank Steinmetzger wrote:
>> Nasser M. Abbasi wrote:
>>
>>> coming from windows to linux, I find that I miss the task-manager tool
>>> on windows.
>>> [...]
>>> But I am finding that sometimes some desktop applications hangs and
>>> something goes wrong. On windows, when this happens, I start the
>>> task-manager, find the process or the application, and kill it.
>>
>> In KDE, press Ctrl+Esc, in Gnome, you can add your own shortcut via
>> settings->Shortcuts to open gnome-monitor.
>
> Thanks Frank. I looked, called "system monitor" under system tools, in
> fedora 13.
>
> When the desktop froze on me earlier, I could not use it, as everything
> froze, had to reboot. But good to know now that such a tool exist.

Actually, there is a much neater feature which nobody has mentioned yet
(I think it comes directly from X, so it even might work if no program seems
to respond):
Press the combination Ctrl+Alt+Esc. Then your mouse pointer becomes a skull
or X, and if you click on a window with it, you kill its process instantly.

It's only for one window though, clicking on the desktop area won't kill
your X server. Well, in KDE, it kills the plasma-desktop *g*, I don't know
about Gnome.
--
Gruß | Greetings | Qapla'
Der kommt den Göttern am nächsten,
der auch dann schweigen kann, wenn er im Recht ist. (Cato)