[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Force kill a process?



Hans du Plooy on 2006-07-11 15:24:34 +0200:

> mercury:/home/www/web8/web# ps ax | grep ftp
>  3123 ?        Ds     0:00 proftpd: (accepting connections)
> 18183 ?        D      0:00 /usr/sbin/proftpd
> 19079 pts/0    D      0:00 /usr/sbin/proftpd
> 
> How do I kill this?  I'm not exactly in a position to restart the
> server.

Can you 'invoke-rc.d proftpd stop'?

If that doesn't work, read the man page for kill(1).  kill <process id>
will ask the process to exit.  kill -9 <pid> will tell it to quit, now.
kill works outside Debian's mechanisms for starting and stopping
services, though.

Attachment: signature.asc
Description: Digital signature


Reply to: