Skip to content

Instantly share code, notes, and snippets.

@mkorthof mkorthof/clamwrap.sh
Created Jul 20, 2018

Embed
What would you like to do?
adjust clamscan oom score
#!/bin/sh
# http://www.oracle.com/technetwork/articles/servers-storage-dev/oom-killer-1911807.html
# https://backdrift.org/oom-killer-how-to-create-oom-exclusions-in-linux
echo 10 > /proc/self/oom_score_adj && /usr/bin/clamscan "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.