monitoring-plugins
monitoring-plugins copied to clipboard
logfile: add `--after-context=NUM` option, similar to `grep`
print NUM lines after the match in the output as well. from man grep: Print NUM lines of trailing context after matching lines.
Then also implement --before-context=NUM.