Print this page

 

The following shell script lists all message flows and execution groups running on a WMB broker (just pass the broker name):


#!/bin/ksh

BRKNAME=$1
for exec in `mqsilist $BRKNAME |awk '{print $4}'
do
echo $exec
mqsilist $BRKNAME -e $exec
done

The script can then be used to search for a specific message flow using the following (provided execution groups use a standard prefix):


showFlows.ksh <broker> | egrep '<message flow>|<common execution group prefix>'