cannot kill a process

Shane McKinley mckinleysh at gmail.com
Fri Jan 11 11:29:38 UTC 2008


I always use kill -9 XXXX, don't know if there is a difference.

-9 is undocumented, but seems to work for me every time.

Shane
http://www.hackosis.com

On Jan 11, 2008 5:52 AM, Paul Dwerryhouse <paul at dwerryhouse.com.au> wrote:

> On Fri, Jan 11, 2008 at 10:05:26AM +0100, Luca Ferrari wrote:
> > I've got a backup script that is running trhu crontab, and now I noted
> that
> > there are several instances still active (not zombie), and I'd like to
> kill
> > them, but I'm unable. Trying with kill and killall but cannot see the
> process
> > dying ..... Such processes use tar to make the backup on an IDE disk.
> I'm
> > using ubuntu 6.06. Any idea about?
>
> First try a kill -QUIT a couple of times, eg:
>
>        kill -QUIT 4324
>
> (where 4324 is the process ID, use ps -ef to find it)
>
> If that still doesn't work, then you may have to resort to -KILL:
>
>        kill -KILL 4324
>
> Using -KILL is always a last resort. It will kill the process without
> cleaning up any files that it was using, so it may leave it in a bad
> or even unusable state; beware.
>
> Cheers,
>
> Paul
>
> --
> Paul Dwerryhouse                                | PGP Key ID: 0x6B91B584
> ========================================================================
>
> http://linoleum.leapster.org/ - Linux Programming Resources
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080111/51d6d1ea/attachment.html>


More information about the ubuntu-users mailing list