[Sunhelp] Binding of processes at start up

Nicholas Dronen sunhelp at sunhelp.org
Wed Nov 1 14:53:42 CST 2000


On Wed, Nov 01, 2000 at 02:03:50PM -0600, Dark Age wrote:
> Hello,
> Is there a way to specify which processor a process will bind to at startup, 
> I know about pbind, but with it the process has to be online and you have to 
> know the PID. I guess I could write a script to get the PID and then bind 
> it, but I want to know if there is a simpler way.

Or write a simple C program to call processor_bind(2) after it has forked
a child process (from which it can exec(2) the program's command-line
arguments).

Regards,

Nick Dronen



More information about the SunHELP mailing list