Re: How to find what processes are running and how to kill one? On 2007-07-17 Tue 07:21:00, Edmund wrote:
> How to find what processes are running and how to kill one?
> It seems that an FTP process is running and now the windows from
> "Search for Files" doesn't open anymore :-(
>
ps (or pgrep) and kill (or pkill or killall) - read the manuals of each
for details, but a typical usage would be
$ ps auxww | grep MyProcess | grep -v grep
user 22626 blah blah
$ kill 22626
(pgrep is cool because it doesn't match itself and returns only PIDs by
default)
The 'top' command will show you all processes interactively and allow
you to kill them that way, too.
And if you need to find something, the 'find' and 'locate' commands
are available with or without a GUI. |