Egy meg gusztustalanabb verzio (OOM score tetszes szerint emelheto): for i in $(ps --no-heading -eo pid); do if [[ $(sed '/self/d' /proc/$i/oom_score) -gt 1000 ]]; then echo $(ps --no-heading -o comm,pid $i); fi; done 2>/dev/null