https://medium.com/opsops/there-is-an-oom-kill-count-in-linux-e9936aa33102 Open in app Sign up Sign in [ ] Write Sign up Sign in [1] There is an oom kill count in Linux! George Shuklin OpsOps George Shuklin * Follow Published in OpsOps * Dec 1 -- Listen Share I've missed this completely. Linux is exposing oom_kill value in the /proc/vmstat. It's there since 2.6.36. It is read by node exporter as node_vmstat_oom_kill metric. It may be obvious for most people, but my old way was to detect OOMs through parsing of kernel messages (dmesg), and it was complicated, slow and a bit unreliable. It's much easier to test and to react. With Linux 6.6 been released I'm a bit slow to notice it. But it's better now, then never. Linux Prometheus DevOps System Administration Monitoring -- -- George Shuklin OpsOps Follow Written by George Shuklin 1.3K Followers *Editor for OpsOps I work at Servers.com, most of my stories are about Ansible, Ceph, Python, Openstack and Linux. My hobby is Rust. Follow Help Status About Careers Blog Privacy Terms Text to speech Teams