We're trying to verify few alerts to be generated by our application when the threshold values are crossed. As part of this we need to generate an alert when the %CPU utilization of the Kernel goes beyond a certain value. We monitor the %CPU of kernel using the mpstat command (the field is highlighted in bold and red color below).
And right now i'm finding it difficult to increase this kernel %CPU. It takes a lot of time to increment the value of the %CPU of Kernel. I'm using the following command to do this :
But the cpu utlilisation increments very slowly with the above command.
I'm working on RHEL 5.6
Pls. advise if you guys have any ideas.
Thanks
Last edited by jim mcnamara; 09-29-2013 at 07:19 AM..
Is there a reason you cannot simply abuse the your application to make it use more kernel?
If you simply have to increase kernel time another way then put together something that creates lots of threads with short duration. Or lots of processes. Where lots==100+.
Somewhat like the idea of a fork bomb. DON'T use a fork bomb. Not a good idea. All it does is create endless processes. Limit the total number of processes.
None of this is a great idea. There is code out there - google for 'stress test unix'
Good Morning All, I've been a long time lurker but this if my first time posting.
About 6 months ago I started a new job with an AIX box. I had administered many Debian and Red Hat variant systems before, but this was my first AIX. It is an old box (Power4) that runs our ERP.
It had been... (2 Replies)
Hi,all:
I run my program which consists of one kernel module and one user mode process on a dual core server. The problem here is the kernel module consumes 100% of one core while the user mode process only consumes 10% of the other core, is there any solution that I can assign some computing... (1 Reply)
I've got a domain running on a few boards of a 25k. I'm seeing very high kernel cpu usage in top and cant' quite explain it. System runs a large number of smallish Oracle 10g2 databases (30), used mainly for development.
load average: 36.63, 36.68, 37.42
2489 processes: 2452 sleeping, 21... (0 Replies)
I'm running on Solaris 10, and I have a script that's running on several machines. Basically, what it's doing is:
* tail -f | grep one or more log files into a temp file
* Every minute or so, copy that temp file to a second temp and zero the first
* Sed through the 2nd temp to pull out a user... (2 Replies)
hi,
i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
ok so I just installed fedora core 6 on my dell inspiron 700m and I go to boot into linux and I get this error. Has anyone seen this before?
I also had XP Pro and Vista installed on this pc prior to putting fedora core 6 on the machine. I'm trying to setup a triple boot system.
Please Help... (2 Replies)
hello
On my P570, i have with sar:
cpu of user : 40 %
cpu of kernel : 60 % !!
I don't know how find the process of kernel, ps -ef give to me the process of user, but for kernel ?
what can i kill to liberate some cpu of kernel ?
it is a production server, i can't reboot it
thank you (2 Replies)