From a93b594510204d96bd5bb6a7314e8a625e035b31 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 7 Mar 2008 09:45:33 +0000 Subject: reduce I/O priority --- cron-sh/security.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cron-sh/security.sh b/cron-sh/security.sh index e5a693a..0ed6717 100755 --- a/cron-sh/security.sh +++ b/cron-sh/security.sh @@ -134,6 +134,8 @@ fi netstat -pvlA inet,inet6 2> /dev/null > ${OPEN_PORT_TODAY}; +ionice -n7 -p $$ + # Hard disk related file check; the less priority the better... nice --adjustment=+19 /usr/bin/msec_find ${DIR} -- cgit v1.2.1