Posted: Thu Jul 08, 2004 12:06 am Post subject: Problem with Linear Logging script mqllm.ksh
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...
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.
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
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