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 debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52e69f51.4040...@gmail.com

Reply via email to