|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Script to monitor CPU , Memory
Hello.
I am using AIX 6 and did lot of searches on google for this script and found so many results. Just thought to ask you being the real good place for centralised answer: a) Could you tell me the aix script, which may tell me If the CPU load is above e.g. 60% ? b) Could you tell me the AIX Script, which may tell me If the Real Memory is above e.g. 60% and Paging Memory is above e.g. 2%. Appreciate your direction on it. Thank you |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
You are not looking a script but a monitoring tool
paid ones: IBM ITM6, Zenworks . Free ones Zabbix, Ganglia |
| Sponsored Links | ||
|
|
#3
|
||||
|
||||
|
AFAIK, AIX does not come with a ready-to-use script that triggers an alarm action when CPU or RAM consumption is above some threshold ; ( althought the `errpt' output may show some alerts if your 'dump device' is too small - but that's another story ... )- however, your "CPU/RAM/Paging" info can all be gathered from the `vmstat' output ; - give it a try, like : Code:
$ vmstat 1 10 - this will give you ten samples of status, delayed one second each ; - my suggestion is fairly simple : 1) with just a few `ksh' or `awk' lines in a script, you can check and alarm your needed values from the `vmstat' output ; 2) run the "vmstat + script" say, once every 5 minutes or so - with `crontab' - of course ; - then all you have to worry is the way to actually 'inform' the events ( console , email , ... ) ; ok ? HTH good luck, and success ! _________________________________________ alexandre botao ( progsmith, polymath, ideator ) "comets never dodge"
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What to monitor for memory usage? | karlochacon | UNIX for Dummies Questions & Answers | 2 | 07-14-2011 05:34 AM |
| Monitor memory | zhshqzyc | Linux | 2 | 05-30-2011 12:45 PM |
| How often should I monitor the CPU and memory usage ? | qiulang | UNIX for Advanced & Expert Users | 5 | 08-21-2009 10:47 PM |
| Monitor Memory of a process | archana485 | UNIX for Dummies Questions & Answers | 3 | 07-18-2009 01:57 AM |
| monitor memory usuage | rockcapri | HP-UX | 1 | 07-28-2008 04:48 PM |
|
|