Operating System - HP-UX
1753792 Members
7235 Online
108799 Solutions
New Discussion юеВ

11i mpctl (setproc.c problems)

 
SOLVED
Go to solution
Bill McNAMARA_1
Honored Contributor

11i mpctl (setproc.c problems)

Hi all,

Can someone verify if the program I posted in the following link works on 11i or not?

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xad97663ce855d511abcd0090277a778c,00.html

I believe mpctl behaviour on 11i has changed somewhat.

Thanks,
Bill
It works for me (tm)
2 REPLIES 2
David Johns
Advisor
Solution

Re: 11i mpctl (setproc.c problems)

Hi Bill:

The program works for me:

$ uname -a
HP-UX hathor B.11.11 U 9000/800 696349343 unlimited-user license

$ ./setproc 0 19939
Attempting to set process affinity for processor 0
processor 0 pid = 19939
$ ./setproc 1 19939
Attempting to set process affinity for processor 1
processor 1 pid = 19939
$ ./setproc 2 19939
Attempting to set process affinity for processor 2
processor 2 pid = 19939
$ ./setproc 3 19939
Attempting to set process affinity for processor 3
processor 3 pid = 19939

Top reports that the process is running on the desired cpu.

Cheers,
Dave

Bill McNAMARA_1
Honored Contributor

Re: 11i mpctl (setproc.c problems)

Thanks for the verification David!

Later,
Bill
It works for me (tm)