From: Colin Patrick McCabe Date: Fri, 24 Feb 2012 03:28:40 +0000 (-0800) Subject: Add iocaine.sh X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ce181b3e616462ee264ef1893be58787fe61f68;p=cmccabe-bin Add iocaine.sh A little script to renice / ionice mplayer. Signed-off-by: Colin McCabe --- diff --git a/iocaine.sh b/iocaine.sh new file mode 100755 index 0000000..a5bd5dd --- /dev/null +++ b/iocaine.sh @@ -0,0 +1,4 @@ +#!/bin/bash -ex + +renice -n -20 -p `pidof mplayer` +ionice -c 1 -p `pidof mplayer`