On Tue, 21 Sep 2004, Paul Eggert wrote:

[snip]

>Last but not least, is there prior art for this sort of thing?

Recent RedHats come with the taskset(1) utility in the schedutils
package. Its usage:

taskset version 1.3.0
usage: taskset [options] [mask] [pid | cmd [args...]]
set or get the affinity of a process

  -p, --pid              operate on existing given pid
  -h, --help             display this help
  -v, --version          output version information

$ taskset 03 nice -20 nohup doexec arg0 timeout 30 chroot /var/empty env -i <command>
(I made up "timeout", although I still plan to write it...)

Sure, an uber-launcher could know about multiple different modifications
to a process's world-view, but I don't think CPU affinity and scheduler
priority fit quite well enough together to share in a common app.


Cheers,
Phil


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to