log-gap is a simple python script that inspects syslog-formatted logfiles, and reports any time gaps. These can be used to detect the time of a system crash or hibernation, even in a busy (but single-host) log.

Usage is like:

EG:


Hits: 1218
Timestamp: 2025-07-25 22:44:42 PDT

Back to Dan's tech tidbits

You can e-mail the author with questions or comments: