On 11 September 2002 16:08, Jim Sibley wrote:
> resource
> group priority kill priority
> system 0 0 - never kill
> support 1 1
> payroll 2 2
> production 3 3
> general user 4 4
> production backgournd 5 3
^^^
make sure testing and general user are killed
BEFORE production
> testing 6 5
I like this. Maybe map it to user gid and provide /proc interface?
Let's say on your server you allocated gids this way:
0 - system
100 - support
110 - payroll
120 - production
200 - general user
130 - production background
500 - testing
# echo "0 100 110 120 200 130 500" >/proc/resourceprio
# echo "0 100 110 120 130 200 500" >/proc/killprio
-- vda - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:32 EST