Page 1 of 1
Monitor if any process reaches more than 50% of CPU
Posted: Fri Feb 07, 2014 11:28 am
by srikanth.kallu
Hi,
Is there any way i can monitor if any process uses more than 50% of CPU in AIX.
Thank you,
Srikanth.
Re: Monitor if any process reaches more than 50% of CPU
Posted: Fri Feb 07, 2014 1:32 pm
by sreinhardt
You would likely have to write a custom script that calls top or ps and scraps the data. However I highly doubt there is a script already in place for this, as it is somewhat arbitrary results being that it would be likely completely separate processes each time.
Re: Monitor if any process reaches more than 50% of CPU
Posted: Fri Feb 07, 2014 4:21 pm
by snapon_admin
We haven't actually implemented it yet, but we were just looking at this plugin the other day that looks like it might work for you. I don't believe it tells you if a process is using over 50%, but it does list the top 5 CPU heavy processes:
http://exchange.nagios.org/directory/Pl ... rs/details
Re: Monitor if any process reaches more than 50% of CPU
Posted: Mon Feb 10, 2014 10:34 am
by slansing
Nice find snapon, you could write a wrapper script around that one to pull down the top 5 processes, and alert off of them.