Andrew Morton wrote:

#!/bin/sh

PIDS=$(ps axo pid,command | grep ' \[.*\]$' | sed -e 's/ \[.*\]$//')

for i in $PIDS
do
        chrt -r 99 -9 $i
done


For the unaware, "chrt" is part of the schedutils package. (I didn't know about it till just now...figured I'd save others the trouble of searching.)

Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to