Re: On-the-fly throttle of CPU consumption of a process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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').

Yeah, I'd been meaning to mention that, myself, but have been a bit busy
in the RW to follow everything....

Hey, Dave!

      mark

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux