current processes

Hi all,

I'm running AIX 4.3.3.

Is there a way in C++ to get a list of all current processes running on the processor? I have a manager daemon tracking all the software applications. They're using a system of healthchecks to update status. One intermittently is missing its healthcheck, which in turn causes the manager daemon to bring down all the relevant software processes on the box. I'm looking for a backup method of checking to see if the application is still alive or not, before having the manager daemon bring everything down. I remember I did this before, but I cannot locate the header file for it or any info about it.

Thanks in advance!!

got my answer. There'a getproc() function that goes with the procinfo struct in procinfo.h.