• Add a Comment
  • Edit
  • More Actions v
  • Quarantine this Entry

Comments (1)

1 binbinpku commented Permalink

Very useful script for monitoring chs.

 
We use the following script to list chs before, can not cal rate:
[
echo '' > status.dump
 
until [ $i -eq 60 ]
do
date >> status.dump
 
echo 'DISPLAY CHSTATUS(chlname) all' | runmqsc qmgr | grep -E 'BYTSSENT|MSGS|LSTMSGTI' >> status.dump
 
sleep 10
 
i=$(( $i + 1 ))
done
]

Add a Comment Add a Comment