BFS revisited, brain fuck scheduling

2020-11-01 Thread NASA Jeff
Here's a somewhat imperfect, though short script I knocked together that fixes scheduling issues. while true do for i in `iotop -P -b -q -o -d 0.1 -n 10 | awk -F ' ' '{if ( $1 ~ /[0-9]/ && $10 > 10) print $1}'` do ionice -c 3 -p $i echo "process $i reniced to idel as it was hogging

BFS revisited.

2020-11-01 Thread NASA Jeff
Here's a somewhat imperfect, though short script I knocked together that fixes scheduling issues. while true do for i in `iotop -P -b -q -o -d 0.1 -n 10 | awk -F ' ' '{if ( $1 ~ /[0-9]/ && $10 > 10) print $1}'` do ionice -c 3 -p $i echo "process $i reniced to idel as it was hogg