[Top][All Lists]

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

Distinguish crash vs normal restart

From: Ani A
Subject: Distinguish crash vs normal restart
Date: Fri, 3 Jun 2016 11:40:10 +0530


I want to run a script when Monit detects that my application has
_crashed_ (not normal restart) more than 4 times in a given duration.
I saw the following post which uses a temp file hack:

Is this the only/preferred way? or is there a way to distinguish between normal
restart (via SysV service restart, in my case) vs crash
[assert()/abort()/exit(!0)] ?

A. Aniruddha

reply via email to

[Prev in Thread] Current Thread [Next in Thread]