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.
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.