From 8ce181b3e616462ee264ef1893be58787fe61f68 Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Thu, 23 Feb 2012 19:28:40 -0800 Subject: [PATCH] Add iocaine.sh A little script to renice / ionice mplayer. Signed-off-by: Colin McCabe --- iocaine.sh | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) create mode 100755 iocaine.sh 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` -- 1.6.6.rc1.39.g9a42