punkave/find-downtime

Name: find-downtime

Owner: P'unk Avenue

Description: A utility application that identifies periods of downtime in Apache-compatible log data

Created: 2016-03-06 17:28:25.0

Updated: 2016-03-06 17:30:01.0

Pushed: 2016-03-06 17:30:00.0

Homepage: null

Size: 2

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

find-downtime

ip -c mysite_access_log* | find-downtime [--seconds=120]

find-downtime is a utility application that identifies periods of downtime in Apache log data piped to its standard input and outputs a report of each period of more than 60 seconds with no traffic, or as specified with the seconds option.

This is of course only a useful metric on sites that are extremely unlikely to have 60 seconds without traffic under normal circumstances.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.