userspace: save which process caused restart triggered by monit
When process is restarted more than 5 times within 10*10 seconds (10 cycles,
each 10 seconds), then monit triggers system restart. Save information, which
process caused restart. Store it in flash to survive over restart, then copy
to /tmp.
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
Showing
Please
register
or
sign in
to comment