Unix Questions [message #58249] |
Sat, 09 August 2003 13:03 |
sidd
Messages: 130 Registered: May 2003
|
Senior Member |
|
|
Say i have a shell script aaa.ksh and am using HP Unix.
i run shell sripts at command prompt as
./aaa.ksh.
Now I want to run the scripts such a way that more than one cpu should process on it.. script should use more than one cpu. how should i run that.
|
|
|
Re: Unix Questions [message #58252 is a reply to message #58249] |
Sun, 10 August 2003 17:19 |
William Robertson
Messages: 1643 Registered: August 2003 Location: London, UK
|
Senior Member |
|
|
You can't specify PARALLEL(6) the way you can in Oracle SQL.
You could however code 6 threads and submit 5 of them in background followed by "wait"; or else have a loop that submits each command in background but only continues if there are 6 or fewer items returned by the "jobs" command, etc.
|
|
|