Checking if your Cloud Server VM run out of memory after it has happened

Thanks to my colleague Jan, for this oneliner, it is possible to check if your cloud-server runs out of memory historically;

find /var/log -maxdepth 1 -type f -mtime -3 -exec zgrep -i -E "oom|killed" {} \;

Leave a Reply

Your email address will not be published. Required fields are marked *