On 27.01.2014 19:43, Pol Hallen wrote:
> Hi all,
> 
> I need add to my script a notify if a process take more than X time, so
> using ps I can see what time take a process:
[snip]

Maybe use timeout(1) to send a signal (e.g. USR1) and have your script
trap that signal and send a mail when it receives it?

Regards,
/Lars


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to