[942098 views]

[]

[toggle ads]

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 CET in Code | 0 comments | permalink