Binary package “forkstat” in ubuntu mantic

process fork/exec/exit monitoring tool

 Forkstat monitors process fork(), exec() and exit() activity.
 It is useful for monitoring system behaviour and to track down
 rogue processes that are spawning off processes and potentially
 abusing the system.