# runUMTool.sh MonitorChannels runs continuously

**URL:** <https://techcommunity.softwareag.com/t/runumtool-sh-monitorchannels-runs-continuously/307370>\
**Category:** Forum\
**Tags:** universal-messaging, runUMtool\
**Created:** [December 23, 2024, 9:23pm UTC](https://techcommunity.softwareag.com/t/runumtool-sh-monitorchannels-runs-continuously/307370 "2024-12-23T21:23:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Sieberg](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@David\_Sieberg](https://techcommunity.softwareag.com/u/David_Sieberg)\
**Post date:** [December 23, 2024, 9:23pm UTC](https://techcommunity.softwareag.com/t/runumtool-sh-monitorchannels-runs-continuously/307370/1 "2024-12-23T21:23:56Z")

</div>

webMethods Universal Messaging 10.15

I am attempting to use the: runUMTool.sh MonitorChannels command to check on queues and channels, and I have it working, but am perplexed by the fact that it runs continuously. I’d like the option to have it spin through the list of queues/channels just once, then quit. Is that possible?

The help for the command seems to have a “wait=” parameter, but it seems invalid. I’m wondering if the help does not match the actual code.

[/opt/webMethods/10.15/UniversalMessaging/tools/runner]$./runUMTool.sh MonitorChannels  
UM Tools Runner

Monitors the channels and queues in a realm and prints totals.

Usage:  
runUMTool MonitorChannels -rname= [optional\_args]

Examples:  
MonitorChannels -rname=nsp://localhost:9000 -channelname=channel0 -format=plaintext -wait=1  
MonitorChannels -rname=nsp://localhost:9000 -channelname=queue10 -format=plaintext -wait=1

As can be seen here, the wait parameter is invalid:  
[/opt/webMethods/10.15/UniversalMessaging/tools/runner]$./runUMTool.sh MonitorChannels -rname=nsp://localhost:9090 -channelname=PharmaRequest\_Queue -wait=1  
Invalid argument keyword specified. See usage message for valid keywords.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [June 21, 2025, 9:23pm UTC](https://techcommunity.softwareag.com/t/runumtool-sh-monitorchannels-runs-continuously/307370/2 "2025-06-21T21:23:59Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
