lkml.org 
[lkml]   [2004]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U0
On Thu, 14 Oct 2004 11:19:53 +0200
Ingo Molnar <mingo@elte.hu> 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?)

Hi,

thanks for the infos.

btw: i use:

chrt -f -p 99 `pidof "IRQ 5"`

for example (chrt commandline parsing is kinda braindead). It seems to work:

~$ ps -cmL `pidof "IRQ 5"`
PID LWP CLS PRI TTY STAT TIME COMMAND
110 - - - ? - 0:00 [IRQ 5]
- 110 FF 139 - S< 0:00 -

flo
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.572 / U:13.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site