lua-users home
lua-l archive

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


On Tue, Feb 1, 2011 at 12:32 PM, Gilles Ganault <gilles.ganault@free.fr> wrote:
> [...] parse the output of "ps aux" and send an e-mail in
> case the application is no longer listed.

I don't know about strace, maybe it's a better tool or something; but
if I were to do just the part I quoted above, I'd personally probably
go for awk + mail (i.e. the "mail" command-line tool, as in
/bin/mail), or maybe even grep+cut+mail.

greetings
Mateusz