This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# finds chrome renderer processes and ups their OOM kill score on Linux | |
# | |
while read Line | |
do | |
while read -r MemUsed Pid | |
do | |
CmdLine=$(cat /proc/${Pid}/cmdline) |
OlderNewer