diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-07 09:45:33 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-07 09:45:33 +0000 |
commit | a93b594510204d96bd5bb6a7314e8a625e035b31 (patch) | |
tree | a08f2704286becbc99f53c8accc7a5ec5814fac2 /cron-sh | |
parent | 6889029765d040095ccab6f8743e7f7e71d26a3a (diff) | |
download | msec-a93b594510204d96bd5bb6a7314e8a625e035b31.tar msec-a93b594510204d96bd5bb6a7314e8a625e035b31.tar.gz msec-a93b594510204d96bd5bb6a7314e8a625e035b31.tar.bz2 msec-a93b594510204d96bd5bb6a7314e8a625e035b31.tar.xz msec-a93b594510204d96bd5bb6a7314e8a625e035b31.zip |
reduce I/O priority
Diffstat (limited to 'cron-sh')
-rwxr-xr-x | cron-sh/security.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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} |