Thanks Dave, I'm aware of "renice" when I mentioned "nice" in the first post but "renice" is probably not what I'm looking for because when no other processes need the CPU, this reniced CPU hungry process would still chew up all the CPU, resulting in the frequent alerts I'm getting. Cameron's stutter script of staggering between "kill -SIGSTOP pid" "kill -SIGCONT pid" would meet my requirement for other UNIX (HP-UX etc) platforms as well; due to corporate approval processes, I haven't got a chance to test it on HP-UX yet to see if the Websphere & Weblogic processes cope well and with smaller intervals, hopefully it's not noticeable to users. Thanks Sun On Tue, Apr 6, 2010 at 9:51 PM, Dave Ihnat <dihnat@xxxxxxxxxx> wrote: > On Tue, Apr 06, 2010 at 02:33:08PM +1000, Cameron Simpson wrote: > > On 06Apr2010 11:30, sunhux G <sunhux@xxxxxxxxx> wrote: > > | Q1: > > | When a running process hogs a CPU, I would like to be able to reduce > > | its % CPU consumption, say to 50%. Is there a command to do this or > > | this is possible in Redhat (& CentOS & HP-UX if anyone knows) ? > > > > I'm not sure about constraining its CPU use "evenly", but you can > > SIGSTOP/SIGCONT it from outside - ceasing execution and then resuming > > later. I wrote a script called stutter for this purpose: > > Hmm...I'm sorry I wasn't paying attention to this earlier, but I don't > see any mention of trying "renice". (Man 'renice'). > > Cheers, > -- > Dave Ihnat > dihnat@xxxxxxxxxx > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list