From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932370AbWBFUPh (ORCPT ); Mon, 6 Feb 2006 15:15:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932372AbWBFUPg (ORCPT ); Mon, 6 Feb 2006 15:15:36 -0500 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:30468 "EHLO spitz.ucw.cz") by vger.kernel.org with ESMTP id S932370AbWBFUPf (ORCPT ); Mon, 6 Feb 2006 15:15:35 -0500 Date: Mon, 6 Feb 2006 20:15:21 +0000 From: Pavel Machek To: "Eric W. Biederman" Cc: Kirill Korotaev , Linus Torvalds , Hubertus Franke , Dave Hansen , Greg KH , Alan Cox , "Serge E. Hallyn" , Arjan van de Ven , Linux Kernel Mailing List , Cedric Le Goater Subject: Re: RFC [patch 13/34] PID Virtualization Define new task_pid api Message-ID: <20060206201521.GA2470@ucw.cz> References: <20060117155600.GF20632@sergelap.austin.ibm.com> <1137513818.14135.23.camel@localhost.localdomain> <1137518714.5526.8.camel@localhost.localdomain> <20060118045518.GB7292@kroah.com> <1137601395.7850.9.camel@localhost.localdomain> <43D14578.6060801@watson.ibm.com> <43E21BD0.6000606@sw.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > There are two issues here. > 1) Monitoring. (ps, top etc) > 2) Control (kill). > > For monitoring you might need to patch ps/top a little but it is doable without > 2 pids. > > For kill it is extremely rude to kill processes inside of a nested pid space. > There are other solutions to the problem. Can you elaborate? If I have 10 containers with 1000 processes each, it would be nice to be able to run top then kill 40 top cpu hogs.... -- Thanks, Sharp!