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 IBM MQ Support » Queue Manger Last start time

Post new topic  Reply to topic
 Queue Manger Last start time « View previous topic :: View next topic » 
Author Message
atheek
PostPosted: Tue May 08, 2007 7:52 am    Post subject: Queue Manger Last start time Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

Hi all,

Is there a way to know when a qmgr was last started, apart from error logs?

MQ Version : 5.3
OS : Solaris 2.9

Regards,
Atheek
Back to top
View user's profile Send private message
dgolding
PostPosted: Tue May 08, 2007 7:57 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Quick and dirty:

ps -fu mqm|grep zxma - this will tell you when the execution controller started for each queue manager.
Back to top
View user's profile Send private message Visit poster's website
jcv
PostPosted: Tue May 08, 2007 7:57 am    Post subject: Reply with quote

Chevalier

Joined: 07 May 2007
Posts: 411
Location: Zagreb

Dumping the contents of the log using the dmpmqlog command gives you among other this kind of log:

Start Queue Manager
This logs that the queue manager has started.
StartDate The date that the queue manager started.
StartTime The time that the queue manager started.
Back to top
View user's profile Send private message Visit poster's website
atheek
PostPosted: Tue May 08, 2007 7:59 am    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

..but dmpmqlog can be used only if qmgr is not running!! .. right??
Back to top
View user's profile Send private message
dgolding
PostPosted: Tue May 08, 2007 8:01 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Why can't you look in the log file?
Back to top
View user's profile Send private message Visit poster's website
EddieA
PostPosted: Tue May 08, 2007 9:21 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Enable QMGR Events, and read/browse the message produced.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue May 08, 2007 7:05 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

EddieA wrote:
Enable QMGR Events, and read/browse the message produced.

Cheers,
When the qmgr starts it puts a message into the event queue. Check out the date time on that message and remember MQ date time is always UTC.... Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
atheek
PostPosted: Wed May 09, 2007 1:12 am    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

I was looking for a non MQ way.

ps -fu mqm|grep zxma as suggested by dgolding looks fine.

Many thanks to all for replying.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu May 10, 2007 11:27 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

EddieA wrote:
Enable QMGR Events, and read/browse the message produced.

Cheers,


Make sure the queue has its Default Persistence set to Persistent if you want to maintain a history of when the QM is stopping and starting.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Queue Manger Last start time
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.