Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
counter processes_oom_killed_total
counter processes_oom_killed_by_name by label
/Killed process (\d+) \((\S+)\) total-vm:\d+kB, anon-rss:\d+kB, file-rss:\d+kB$/ {
processes_oom_killed_total++
processes_oom_killed_by_name[$2]++
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment