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 » General Discussion » Queue to monitor the timeings ?

Post new topic  Reply to topic
 Queue to monitor the timeings ? « View previous topic :: View next topic » 
Author Message
Shanta
PostPosted: Wed Feb 01, 2006 4:01 am    Post subject: Queue to monitor the timeings ? Reply with quote

Voyager

Joined: 01 Sep 2005
Posts: 81

Is it possible to view the logs on Queue to monitor the timeings of message put in and read out from a Queue?
I was looking at a log file in /var/mqm/log/ABC but could not read the timings.. I can only read the message

Thanks and Regard
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Wed Feb 01, 2006 4:42 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

Logs only store the putting of messages. This is to be able, to recover the messages, when the QMgr stops or crashes. Getting messages out of queues is NOT logged.

Hubert
Back to top
View user's profile Send private message Visit poster's website
Shanta
PostPosted: Wed Feb 01, 2006 4:49 am    Post subject: Reply with quote

Voyager

Joined: 01 Sep 2005
Posts: 81

Hi
If i want to do some performance testing need to know the timings at different stages...

Thasnks and Regards
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Wed Feb 01, 2006 4:54 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

Shanta,

you could write an API exit, which writes some form of log output (e. g. timestamp) to a file or queue, when a message has been written to or read from a queue.

Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
wschutz
PostPosted: Wed Feb 01, 2006 6:53 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

HubertKleinmanns wrote:
Logs only store the putting of messages. This is to be able, to recover the messages, when the QMgr stops or crashes. Getting messages out of queues is NOT logged.
Hubert
No, I don't think thats true. While the entire message isn't written to the log, enough information IS written when a GET is commited to know not to recreate the message after failure. But in any case, trying to reverse engineer the logs to get that info isn't a good idea.
(and, of course, all this applies only to persistent messages).

With V6, there are queue statistics that you can turn on to tell you things like average time spent in queue, etc.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
HubertKleinmanns
PostPosted: Wed Feb 01, 2006 8:21 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

wschutz wrote:
HubertKleinmanns wrote:
Logs only store the putting of messages. This is to be able, to recover the messages, when the QMgr stops or crashes. Getting messages out of queues is NOT logged.
Hubert
No, I don't think thats true. While the entire message isn't written to the log, enough information IS written when a GET is commited to know not to recreate the message after failure. But in any case, trying to reverse engineer the logs to get that info isn't a good idea.
(and, of course, all this applies only to persistent messages).

With V6, there are queue statistics that you can turn on to tell you things like average time spent in queue, etc.


Of course, you are right, but it's a mess, to find some informations in the logs. Addionally the logs must not be in use, so you have to stop the QMgr, to have a look into the logs - at least when you use circular logging.

Hubert
Back to top
View user's profile Send private message Visit poster's website
Mr Butcher
PostPosted: Wed Feb 01, 2006 8:45 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

and when you are not on z/OS )
_________________
Regards, Butcher
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Wed Feb 01, 2006 9:58 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

Mr Butcher wrote:
and when you are not on z/OS )


On z/OS looking for messages in the logs is a mess too, but you are able to initiate the archiving of active logs. But soon (V6) it is possible for servers too .
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Queue to monitor the timeings ?
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.