Process management facilities are provided with the Resource Management API to implement resource monitors and resource control callbacks. See the man pages for details on each of these commands and programs.
Process Monitor Facility: pmfadm(1M) and rpc.pmfd(1M) -- The Process Monitor Facility (PMF), provides a means of monitoring processes and their descendants, and restarting them if they die. The facility consists of the pmfadm(1M) command for starting and controlling monitored processes, and the rpc.pmfd(1M) daemon.
halockrun(1M) -- A program for running a child program while holding a file lock. This command is convenient for use in shell scripts.
hatimerun(1M) -- A program for running a child program under time-out control. This is a convenience command for use in shell scripts.