Re: [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU feature, -D7
From: Ingo Molnar
Date: Wed Jan 26 2005 - 06:04:54 EST
i've uploaded a simple utility to set the RT_CPU rlimit, called
execrtlim:
http://redhat.com/~mingo/rt-limit-patches/
execrtlim can be used to test the rlimit, e.g.:
./execrtlim 10 10 /bin/bash
will spawn a new shell with RLIMIT_RT_CPU curr/max set to 10%/10%.
on older kernels the utility prints:
$ ./execrtlim 10 10 /bin/bash
execrtlim: kernel does not support RLIMIT_RT_CPU.
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/