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 Installation/Configuration Support » Problem with Linear Logging script mqllm.ksh

Post new topic  Reply to topic
 Problem with Linear Logging script mqllm.ksh « View previous topic :: View next topic » 
Author Message
psn
PostPosted: Thu Jul 08, 2004 12:06 am    Post subject: Problem with Linear Logging script mqllm.ksh Reply with quote

Disciple

Joined: 30 Oct 2002
Posts: 193
Location: France

Hi,

I have 41000 LOG Files to delete on WMQ 5.3 CSD07 Solaris 2.8 . The rcdmqimg command say that the 41000 last log could be deleted ( only the 2 last LOG are needed. I start the mqllm.ksh and this script run hours ... this is to long I think what could be the matter...

PSN
Back to top
View user's profile Send private message
Tibor
PostPosted: Sun Jul 11, 2004 3:22 pm    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

PSN,

mqllm.ksh is working fine but slow because unix shell script interpreter is not a real text processor language. If you find this script too slow, you can try the similar Perl script (maybe MS62).

You can delete the old files with a one-line find command.

Tibor
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jul 11, 2004 8:46 pm    Post subject: Reply with quote

Grand High Poobah

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

PSN,

have you tried the support pack with the java archive script ?(mqllm.sh)
Make sure you have either a physical or symbolic path for
/var/mqm/log/<qmgr name>/active to your logs and
/var/mqm/qmgrs/<qmgr name>/errors to the qmanager's error logs

It works quite fast and fine for me on Solaris(sun java 141) and AIX(ibm java 131).
As the archived file name is a little bit too long and weird I had the UNIX admin write a perl script for me to rename the archived file name to
<qmgr>_<date>_<time>.zip

Have fun
F.J.
Back to top
View user's profile Send private message Send e-mail
psn
PostPosted: Fri Jul 16, 2004 12:34 am    Post subject: Reply with quote

Disciple

Joined: 30 Oct 2002
Posts: 193
Location: France

Good idea thank you !
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 » IBM MQ Installation/Configuration Support » Problem with Linear Logging script mqllm.ksh
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.