Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266793AbUJNSkT (ORCPT ); Thu, 14 Oct 2004 14:40:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267263AbUJNSai (ORCPT ); Thu, 14 Oct 2004 14:30:38 -0400 Received: from uucp.cistron.nl ([62.216.30.38]:51604 "EHLO ncc1701.cistron.net") by vger.kernel.org with ESMTP id S266878AbUJNRno (ORCPT ); Thu, 14 Oct 2004 13:43:44 -0400 From: "Miquel van Smoorenburg" Subject: Re: [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U0 Date: Thu, 14 Oct 2004 17:43:43 +0000 (UTC) Organization: Cistron Group Message-ID: References: <20041014002433.GA19399@elte.hu> <20041014105711.654efc56@mango.fruits.de> <20041014091953.GA21635@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: ncc1701.cistron.net 1097775823 19567 62.216.29.200 (14 Oct 2004 17:43:43 GMT) X-Complaints-To: abuse@cistron.nl X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: miquels@cistron-office.nl (Miquel van Smoorenburg) To: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 993 Lines: 20 In article <20041014091953.GA21635@elte.hu>, Ingo Molnar wrote: >In -U0 this is not possible because 'ps -C' does not handle kernel >threads with a space in their name. So there you'd need some wacky thing >like: > > chrt -f 60 -p `ps ax -o pid= -o comm= | grep "IRQ 1$" | cut -dI -f1` > chrt -f 60 -p `ps ax -o pid= -o comm= | grep "IRQ 8$" | cut -dI -f1` > >(someone should fix procps - or does it intentionally break with >whitespace command-strings?) Why not use ` pgrep -x 'IRQ 1' `. It's part of procps (at least the version debian, even woody, is using), some kind of standard (solaris has it too), and works. Mike. -- "In times of universal deceit, telling the truth becomes a revolutionary act." -- George Orwell. - 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/