lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


strace?

On Tue, Feb 1, 2011 at 12:32 PM, Gilles Ganault <gilles.ganault@free.fr> wrote:
> Hello
>
>        I need to investigate why an application stops running on a Linux
> appliance.
>
> I was thinking of writing a small Lua script that would be ran every
> minute by Cron to parse the output of "ps aux" and send an e-mail in
> case the application is no longer listed.
>
> Is this a good way to do what I need, or are there better, ready-made
> ways to do this?
>
> Thank you.
>
>
>