Hi all<br><br>I have just put something together to monitor Oracle database CPU usage.<br><a href="http://www.xymonton.org/monitors:db_cpu.ksh">http://www.xymonton.org/monitors:db_cpu.ksh</a><br><br>A bit of background. <br>
We run multiple databases on a single host. (Those who know Orable's licensing policy will understand why.)<br>The DBAs were keen to know how much of the CPU a single instance was using.<br><br>I scripted it, and then realised Xymon could graph it, and probably do even more with this information.<br>
It has turned into something very useful. <br>We use it for balancing load, scheduling high-load jobs, license reduction, and now have a better idea of the usage profiles over time.<br><br>It should work if you have multiple databases running each in a separate zone, but you will have to run the script from within the global zone.<br>
You will also need to have a method of identifying the Oracle processes, so I hope your oracle user has the same UID in every zone.<br><br>Feel free to report any bugs you find.<br><br>Regards<br>Vernon<br clear="all"><br>
-- <br><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div>