Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932313AbVK2AXX (ORCPT ); Mon, 28 Nov 2005 19:23:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932314AbVK2AXX (ORCPT ); Mon, 28 Nov 2005 19:23:23 -0500 Received: from baldrick.bootc.net ([83.142.228.48]:2280 "EHLO baldrick.bootc.net") by vger.kernel.org with ESMTP id S932313AbVK2AXW (ORCPT ); Mon, 28 Nov 2005 19:23:22 -0500 In-Reply-To: <20051129002801.GA9785@mipter.zuzino.mipt.ru> References: <20051129002801.GA9785@mipter.zuzino.mipt.ru> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Cc: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit From: Chris Boot Subject: Re: [RFC] un petite hack: /proc/*/ctl Date: Tue, 29 Nov 2005 00:23:19 +0000 To: Alexey Dobriyan X-Mailer: Apple Mail (2.746.2) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 584 Lines: 28 On 29 Nov 2005, at 0:28, Alexey Dobriyan wrote: > echo kill >/proc/$PID/ctl > send SIGKILL to process > > echo term >/proc/$PID/ctl > send SIGTERM to process Pardon me for my ignorance, but what's wrong with the following? kill -KILL $PID and kill -TERM $PID Thanks, Chris -- Chris Boot bootc@bootc.net http://www.bootc.net/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/