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 » Mq uptime

Post new topic  Reply to topic
 Mq uptime « View previous topic :: View next topic » 
Author Message
abhijitghosh_79
PostPosted: Tue Dec 31, 2002 2:58 am    Post subject: Mq uptime Reply with quote

Newbie

Joined: 30 Dec 2002
Posts: 6

Can anybody tell me how to know when my mqserver was up and when it was down.if i want to generate a report at end of week how do i do that
Abhijit
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
mqonnet
PostPosted: Tue Dec 31, 2002 5:40 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

If you are referring to Queue Manager, then you could do something like this. This may not be the best way to get around this. But it sure works.

Change your Queue attribute DEFPSIST for SYSTEM.ADMIN.QMGR.EVENT of the queue manager in question, to YES.
Restart your qm.
Now whenever you restart and stop your qm, an event message would be logged to this queue with the timestamp on it. You could restart your QM and compare the values for the 2 events generated at the time of starting and stopping the QM. If you want to do this programatically then you have to use MQCFH structure to achieve this.

Hope this helps.
Cheers.
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
nimconsult
PostPosted: Wed Jan 01, 2003 10:50 pm    Post subject: Reply with quote

Master

Joined: 22 May 2002
Posts: 268
Location: NIMCONSULT - Belgium

You can find the start and stop events in the AMQERR##.LOG files of MQ Series, with messages id AMQ8003 (queue manager started) and AMQ8004 (queue manager stopped). Of course you will not find these messages if the queue manager process was killed.
_________________
Nicolas Maréchal
Senior Architect - Partner

NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Mq uptime
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.