[Discuss] bash command line question

Chris Hennessy chenness at twistedself.com
Fri Jun 29 13:39:29 PDT 2007


Well you can do it in code, or you can use a utility called taskset. Part of
the schedutils package I believe. It allows you to set the affinity of a
process.  I googled and found it.

Chris

On 6/29/07, Owen Stampflee <owen at stampflee.com> wrote:
>
> You'll have to write some code...
>
> man sched_setaffinity
>
> On Fri, 2007-06-29 at 09:36 -0700, p.willis at telus.net wrote:
> > Hello,
> >
> > On a multiprocessor system is there a way to make a specific
> > program run on a specific processor via bash?
> >
> > I realize that distribution of processors is pretty much
> > handled by the SMP stuff in the kernel. What do I do if I
> > want to override this?
> >
> > Thanks for any info
> >
> > Peter
> >
> >
> >
> >
> > _______________________________________________
> > Discuss mailing list
> > Discuss at vlug.org
> > http://ladybug.vlug.org/cgi-bin/mailman/listinfo/discuss
>
> _______________________________________________
> Discuss mailing list
> Discuss at vlug.org
> http://ladybug.vlug.org/cgi-bin/mailman/listinfo/discuss
>


More information about the Discuss mailing list