Posted: Fri Mar 20, 2009 5:12 am Post subject: Script for checking qdepths
Centurion
Joined: 30 Nov 2007 Posts: 126
Hi Guys -
Our app developers want us to come up with a script that monitors qdepth every 20 - 30 SECONDS and log the qdepth. In my experience I have only used qdepthhi alerts and qstats script. (which is not feasible in this case).
Is it possible atall to come up with a shell script to do this? Is there anyway this can be done?
Posted: Fri Mar 20, 2009 5:17 am Post subject: Re: Script for checking qdepths
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
velocity wrote:
Our app developers want us to come up with a script that monitors qdepth every 20 - 30 SECONDS and log the qdepth.
Why? What's the requirement?
velocity wrote:
In my experience I have only used qdepthhi alerts and qstats script. (which is not feasible in this case).
Why not? What's the blocker?
velocity wrote:
Is it possible atall to come up with a shell script to do this? Is there anyway this can be done?
Simple as falling of a log - straightforward display. Slightly pointless but simple enough. _________________ Honesty is the best policy.
Insanity is the best defence.
They are seeing JMS spikes on interscope while doing performance testing. As a result the qdepth spikes up sometime for a very short period of time.(which needs to be caught). It happens only for a certain period of time. They need what goes on the queue every 20 seconds. They want to correlate this qdepth spike to JMS spike.(They know MQ is not the issue for JMS spikes and slowing down of user response times)
Quote:
Simple as falling of a log - straightforward display. Slightly pointless but simple enough.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum