SRCDS Steam group


resched.sh how to fill???
#1
hi guys I jammed in that part of resched.sh
do not know how to fill! the result of grep is that:

xXXXXX@XXXXXxxx:~/Desktop# ps ax | grep hrtimer
11 ? S< 0:00 [sirq-hrtimer/0]
24 ? S< 0:00 [sirq-hrtimer/1]
36 ? S< 0:00 [sirq-hrtimer/2]
48 ? S< 0:00 [sirq-hrtimer/3]
60 ? S< 0:00 [sirq-hrtimer/4]
72 ? S< 0:00 [sirq-hrtimer/5]
84 ? S< 0:00 [sirq-hrtimer/6]
96 ? S< 0:00 [sirq-hrtimer/7]
6116 pts/0 S+ 0:00 grep hrtimer


what i need to change the reched.sh?
#!/bin/sh

PIDS=`ps ax | grep sirq-hrtimer | grep -v grep | sed -e "s/^ *//" -e "s/ .*$//"`
for p in $PIDS; do
chrt -f -p 99 $p
done

PIDS=`ps ax | grep sirq-timer | grep -v grep | sed -e "s/^ *//" -e "s/ .*$//"`
for p in $PIDS; do
chrt -f -p 51 $p
done

PIDS=`pidof srcds_i686`
for p in $PIDS; do
chrt -f -p 98 $p
done

PIDS=`pidof srcds_i486`
for p in $PIDS; do
chrt -f -p 98 $p
done

PIDS=`pidof srcds_amd`
for p in $PIDS; do
chrt -f -p 98 $p
done

PIDS=`pidof hlds_i686`
for p in $PIDS; do
chrt -f -p 98 $p
done

PIDS=`pidof hlds_i486`
for p in $PIDS; do
chrt -f -p 98 $p
done

PIDS=`pidof hlds_amd`
for p in $PIDS; do
chrt -f -p 98 $p
done
tanks in advance and sorry for the poor inglish
Reply
#2
probably nothing....
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#3
(11-21-2009, 07:17 PM)BehaartesEtwas Wrote:  probably nothing....

and the script not need know my processor?
its wonderfull
tanks or in my language
Muito Obrigado Amigo.
Reply
#4
no the script doesnt need to know your processor, it is fine the way you have it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)