03-17-2009, 04:32 AM
Code:
chrt -f -p 98 6789
Did the trick for me but i cant get it to work automagicly. Needs to do that manually.
Have tried:
Code:
#!/bin/sh
PIDS=`ps ax | grep sirq-hrtimer | grep -v grep | sed -e "s/^ *//" -e "s/ .*$//"`
for p in $PIDS; do
sudo chrt -f -p 99 $p
done
PIDS=`pidof srcds_i686`
for p in $PIDS; do
sudo chrt -f -p 98 $p
done
PIDS=`pidof srcds_i486`
for p in $PIDS; do
sudo chrt -f -p 98 $p
done
PIDS=`pidof hlds_i686`
for p in $PIDS; do
sudo chrt -f -p 98 $p
done
but in debian it cant find sudo... and if i removes it wont work either. Note. I have two servers on the box. Both for day of defeat source