[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Watching processes?
- From: Mateusz Czaplinski <czapkofan@...>
- Date: Tue, 1 Feb 2011 14:07:51 +0100
On Tue, Feb 1, 2011 at 12:32 PM, Gilles Ganault <email@example.com> 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.