Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Port Listening & forked children that don't listen

Status
Not open for further replies.

cparker4

Programmer
Mar 1, 2007
1
US
I have a C program that that pools processes to listen on specific ports and service UDT session requests via CallBasic API.
Can someone help me with a command or script to identify forked children that appear active and healthy but for some reason no longer listen or service requests? I can identify the pid & ppid I what to check I just have been unable to find a way to ensure the process is not still working on a request.
The closest I have found is
#ps –eo THREAD,wchan,cpu
#udstat –L pid

I am running on:
:WHAT
Hardware : IBM
Operating system : AIX
O.S. version : 4.3.3
UniData version : 6.1.0

I know the right answer is to change to C code and have the parent handle this, but. I don't have a C resource. So I am trying to create a monitor process to handle the support of this process remotely.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top