From owner-freebsd-questions Thu Oct 12 6:54:45 2000 Delivered-To: freebsd-questions@freebsd.org Received: from boat.mail.pipex.net (our.mail.pipex.net [158.43.128.75]) by hub.freebsd.org (Postfix) with SMTP id D43EF37B503 for ; Thu, 12 Oct 2000 06:54:39 -0700 (PDT) Received: (qmail 16585 invoked from network); 12 Oct 2000 13:54:38 -0000 Received: from mailhost.puck.pipex.net (HELO mailhost.uk.internal) (194.130.147.54) by our.mail.pipex.net with SMTP; 12 Oct 2000 13:54:38 -0000 Received: (qmail 26365 invoked from network); 12 Oct 2000 13:54:38 -0000 Received: from camgate2.cam.uk.internal (172.31.6.21) by mailhost.uk.internal with SMTP; 12 Oct 2000 13:54:38 -0000 Received: by camgate2.cam.uk.internal with Internet Mail Service (5.5.2650.21) id ; Thu, 12 Oct 2000 14:53:40 +0100 Message-ID: From: Daniel Bye To: 'Micke Josefsson' , freebsd-questions@freebsd.org Subject: RE: How do I kill this 'unkillable' process? Date: Thu, 12 Oct 2000 14:48:25 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG YOU, as root, can kill it with kill -9 . As long as the process starts up with the EUID of the user calling it, then he should be able to use this as well. Dan > -----Original Message----- > From: Micke Josefsson [mailto:mj@isy.liu.se] > Sent: Thursday, October 12, 2000 2:51 PM > To: freebsd-questions@freebsd.org > Subject: How do I kill this 'unkillable' process? > > > On one of my machines a user has entered a serial comm > program written in C. Now > the darned thing won't go away. With ps it is marked as (i2c) > issued from > terminal p1- , the minus saying that the controlling terminal > is no longer there > (which is true, he has logged out), and IE meaning that the > process is idle and > trying to exit, and 'ttywai' as its current activity. The > parenthesis around the > progname, does that mean it has been swapped out? > > I have tried killing it by id and by name (kill, killall), to > no avail. Kill -1 > 1, did nothing to hurt it either. It just sits there blocking > /dev/cuaa0 all the > time. Assuming it was waiting for something on cuaa0 I > inserted a mouse there > and juggled around a while, but the process was still there. > > Is there a sure way to kill processes like this? I would like > the user to be able > to do it also, not requiring me to enter the root scene. > > /Micke > > > ---------------------------------- > Michael Josefsson, MSEE > mj@isy.liu.se > > This message was sent by XFMail > running on FreeBSD 3.5-STABLE > ---------------------------------- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message