IBM Support

MS6B: WebSphere MQ Connection Management Utility



This SupportPac provides a korn shell script to list and/or kill all connections to a queue manager by queue, channel, or IP address.

Download Description

This SupportPac provides a korn shell script to list and/or kill all connections to a queue manager by queue, channel, or IP address.

Possible Uses
- List all connections to a queue manager by channel
- List all open queue connections on a queue manager
- Kill all open connections by queue or channel and ip
- Determine connection abusers when max open tcp connections are reached.
- Wild Cards are accepted to shorten results for some commands. Use
(chstat –example) on command line for list of all available options.

New in this Release
- Added APPLTAG to output of "-channel" & "-queue" function.
- Fix wildcard channel/queue names from reading files from the local runtime dir
- Fix short (1-2 Char) wildcard ip/channel/queue names to return more accurate results

Skill Level Required
Basic Knowledge of WebSphere MQ and basic knowledge of linux/unix operating system

Author: Josh Resnick
Category: 4
Released: 02Jan08
Last Updated: 30May08
Current SupportPac Version: 1.1
»Please note that the version number shown in the right-hand pane is the version of the MQ or WBI product that this SupportPac applies to. The date is the last webpage refresh.

To view the complete portfolio of WebSphere MQ SupportPacs please visit the WebSphere MQ SupportPacs homepage.


WebSphere MQ 6.0 or higher, using runmqlsr listener, user has access to runmqsc commands, korn shell is available, user can read and write to a tempory file.

Installation Instructions

To download this SupportPac:
1. Download ms6b.tar.gz
2. Execute gunzip ms6b.tar.gz
3. Execute tar -xvf ms6b.tar
4. chmod +x chstat (if necessary)

[{"DNLabel":"ms6b.tar.gz","DNDate":"30/05/2008","DNLang":"US English","DNSize":"4836","DNPlat":{"label":"HP-UX","code":"PF010"},"DNURL":"","DNURL_FTP":null,"DDURL":null}]

Technical Support

Category 4 SupportPacs are provided by third party suppliers (for example, customers, business partners, vendors) and not from IBM. The material is provided without any warranty or support from IBM. Any special support arrangements may be described within any downloaded material or on the third party supplier's Web site.

By making any material available for downloading from this site, IBM is making no endorsement of any of these third party suppliers, or of their products.

[{"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"SupportPac","Platform":[{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"}],"Version":"7.0;","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
15 June 2018