I\'m working with monitoring an Erlang application and I\'m currently trying to determine how long a specific PID has been running. Absolute timestamp or duration would wor
Write a process which manages this. Since you can find the PID of the given process, you can also set a monitor on the process. Then, if the process errors out, you will get a message in your mailbox.
I would guess this could form the basis for a solution for you.