![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| multiTasking using fork | mannoulla | High Level Programming | 3 | 07-07-2005 04:15 AM |
| fork() | MKSRaja | High Level Programming | 2 | 02-07-2005 08:55 AM |
| OpenBSD bad Multitasking? | Tomtefan | UNIX for Advanced & Expert Users | 2 | 07-10-2004 12:44 PM |
| Multitasking in korn shell | sureshraju_ma | Shell Programming and Scripting | 7 | 11-28-2003 09:57 AM |
| Fork | Deepali | UNIX for Dummies Questions & Answers | 5 | 08-26-2001 05:14 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Multitasking with fork()
Looking for a shell script to do the following :
-- I have 100's of process to execute on Sun. -- These processes are not dependent on each other and can be executed in parallel. -- I cannot execute them ALL at once to avoid the system resource to be occupied by these processes. I want to limit the number of processes to 8. Looking for a shell script or a C program : -- which can pickup the 100 processes and put them in its queue for execcution -- and execute only 8 at any given time -- as soon as one processes is over, this script should submit another processes from the queue Please provide the links... thanks |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
How about the "at" command with a custom queue? Read the man pages on your system:
man at man queuedefs |
||||
| Google The UNIX and Linux Forums |