Author |
Message
|
Shanta |
Posted: Wed Feb 01, 2006 4:01 am Post subject: Queue to monitor the timeings ? |
|
|
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 |
|
 |
HubertKleinmanns |
Posted: Wed Feb 01, 2006 4:42 am Post subject: |
|
|
 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 |
|
 |
Shanta |
Posted: Wed Feb 01, 2006 4:49 am Post subject: |
|
|
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 |
|
 |
HubertKleinmanns |
Posted: Wed Feb 01, 2006 4:54 am Post subject: |
|
|
 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 |
|
 |
wschutz |
Posted: Wed Feb 01, 2006 6:53 am Post subject: |
|
|
 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 |
|
 |
HubertKleinmanns |
Posted: Wed Feb 01, 2006 8:21 am Post subject: |
|
|
 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 |
|
 |
Mr Butcher |
Posted: Wed Feb 01, 2006 8:45 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
and when you are not on z/OS ) _________________ Regards, Butcher |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Wed Feb 01, 2006 9:58 am Post subject: |
|
|
 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 |
|
 |
|