From owner-freebsd-questions Thu Oct 12 6:50:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from isy.liu.se (isy.liu.se [130.236.48.10]) by hub.freebsd.org (Postfix) with ESMTP id 5112537B502 for ; Thu, 12 Oct 2000 06:50:50 -0700 (PDT) Received: from lagrange.isy.liu.se (lagrange.isy.liu.se [130.236.49.127]) by isy.liu.se (8.10.0/8.10.0) with ESMTP id e9CDonn25061 for ; Thu, 12 Oct 2000 15:50:49 +0200 (MET DST) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Thu, 12 Oct 2000 15:50:47 +0200 (CEST) From: Micke Josefsson To: freebsd-questions@freebsd.org Subject: How do I kill this 'unkillable' process? Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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