[mqm@node01 queue]$ cat t4.pl
use MQSeries;
use MQSeries::Command;
use Data::Dumper;
#
if ( $#ARGV < 4 ){
print "Usage ./get_mq_sessage SYSTAG YWJZZF_CZCB_SEND CHANNEL1 192.168.137.2 5015 :!\n";
exit(-1);
};
my $systag=$ARGV[0];
my $QueueManager=$ARGV[1];
my $ChannelName=$ARGV[2];
my $ip=$ARGV[3];
my $port=$ARGV[4];
my $qmgr_obj = MQSeries::QueueManager->new
(
QueueManager => "$QueueManager",
ClientConn => { 'ChannelName' => "$ChannelName",
'TransportType' => 'TCP', # Default
'ConnectionName' => "$ip($port)",
'MaxMsgLength' => 16 * 1024 * 1024,
},
) ||
perl 监控websphere 队列和通道状态
最新推荐文章于 2025-01-03 17:55:09 发布