[HPADM] Re: HP-UX equivalent for : a) cpulimit b) kill -STOP / -CONT
- From: sunhux G <sunhux@xxxxxxxxx>
- Date: Tue, 6 Apr 2010 18:51:25 +0800
Hi again,
Btw, would "renice +15 -p pid" helps reduce the CPU utilization?
If renice only make the process give way to other process waiting
in the queue but once no other processes are using the CPU
anymore, this CPU hungry process would resume back 100%
utilization of CPU, then renice is not what I'm looking for.
Thanks again
U
On Tue, Apr 6, 2010 at 6:37 PM, sunhux G <sunhux@xxxxxxxxx> wrote:
Hi
I'm looking for something equivalent for HP-UX for the following :
http://www.cyberciti.biz/faq/cpu-usage-limiter-for-linux/
Sometimes a process hogs the CPU that it triggers alert
& slows down other processes but I can't kill this process.
In Linux, there's something call "kill -STOP & kill -CONT pid".
Alternatively, I thought of using a script to average it out :
kill -STOP pid # pause execution of the process so it doesnt chew CPU
sleep 1
kill -CONT pid # resume it
sleep 1
kill -STOP pid
sleep 1
......
What's the -STOP & -CONT equivalent in HP-UX?
Thanks
U
- Follow-Ups:
- [HPADM] RE: Re: HP-UX equivalent for : a) cpulimit b) kill -STOP / -CONT
- From: Bill Hassell
- [HPADM] RE: Re: HP-UX equivalent for : a) cpulimit b) kill -STOP / -CONT
- References:
- Prev by Date: [HPADM] HP-UX equivalent for : a) cpulimit b) kill -STOP / -CONT
- Next by Date: [HPADM] RE: HP-UX equivalent for : a) cpulimit b) kill -STOP / -CONT
- Previous by thread: [HPADM] HP-UX equivalent for : a) cpulimit b) kill -STOP / -CONT
- Next by thread: [HPADM] RE: Re: HP-UX equivalent for : a) cpulimit b) kill -STOP / -CONT
- Index(es):
Relevant Pages
|