ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Performance Monitoring » bash script to monitor queue depth using qload

Post new topic  Reply to topic
 bash script to monitor queue depth using qload « View previous topic :: View next topic » 
Author Message
dean
PostPosted: Wed Oct 27, 2010 6:04 am    Post subject: bash script to monitor queue depth using qload Reply with quote

Novice

Joined: 29 May 2009
Posts: 15

Is there a way using qload to monitor the queue depth? I haven't found a way to pipe the summary information from qload to a file. Is there another way from a bash script to monitor queue depth?

thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 27, 2010 6:23 am    Post subject: Re: bash script to monitor queue depth using qload Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

dean wrote:
Is there another way from a bash script to monitor queue depth?


Well scripting a DISPLAY command seems an obvious solution.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
zonko
PostPosted: Wed Oct 27, 2010 6:35 am    Post subject: Reply with quote

Voyager

Joined: 04 Nov 2009
Posts: 78

Enable a queue depth event, and then you will get notified.
Back to top
View user's profile Send private message
dean
PostPosted: Wed Oct 27, 2010 6:53 am    Post subject: Reply with quote

Novice

Joined: 29 May 2009
Posts: 15

Thanks for the idea. This seems to work.

$curdepth=(`echo 'DISPLAY QUEUE (queuename) CURDEPTH' | runmqsc DV01 | grep 'CURDEPTH(' | tr '(' ' ' | tr ')' ' '`)

$echo ${curdepth[1]}
3068
Back to top
View user's profile Send private message
osfitch
PostPosted: Tue Dec 21, 2010 5:21 am    Post subject: SupportPac MH04 Reply with quote

Newbie

Joined: 25 May 2001
Posts: 5

You can use SupportPac MH04 to effectively monitor queue depths.

https://www-304.ibm.com/support/docview.wss?q1=Xa02&rs=171&uid=swg24025857%20&cs=utf-8&lang=en&loc=en_US
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Performance Monitoring » bash script to monitor queue depth using qload
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.