[1666440 views]

[]

Odi's astoundingly incomplete notes

New entries | Code

renice a tty

Quickly renice all processes of a tty:
ps -t pts/1 | awk 'NR>1 { print $1; }' | xargs renice 10 -p

posted on 2011-01-18 21:32 UTC in Code | 0 comments | permalink