Skip to Content
0
Jul 07, 2009 at 08:00 PM

How to monitor semaphores?

141 Views

We had a case recently where a large ERP system had all it's dialog work processes hung on Semaphore 43. We'd like to put some kind of system monitor in place to catch these events and alert someone when it happens. Something like the equivalent of "dpmon -> option m -> option p" output to the screen that we could run periodically for each app server would be perfect... but I'm not seeing any way to feed dpmon commands (other than installing TCL/expect on every host), or otherwise get the information out.

One thing I thought of would be to write an RFCSDK program to call something like TH_WPINFO on each app server, and wrap it in a timer so that if the dialogs on a server are full, it would time out in 10-20 seconds and throw an alert.... but before I go down that road I thought I'd see what other ideas people had.

Thanks!

Rich