![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running UNIX Commands from C | zainab | High Level Programming | 2 | 04-15-2008 12:35 AM |
| running commands from outside of bash | rakabarp | Shell Programming and Scripting | 3 | 03-13-2008 06:40 AM |
| How to disable running commands from vi | Umesh_Sharoff | Shell Programming and Scripting | 1 | 07-14-2006 01:05 PM |
| running commands from script | owijust | Shell Programming and Scripting | 2 | 01-09-2006 06:12 PM |
| running start up commands | skotapal | UNIX for Dummies Questions & Answers | 3 | 12-03-2002 07:31 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Running a queued set of commands?
Is there a way I can queue something like 800 commands in a BASH (or anything else for that matter) script?
I just basically don't want to have 800 commands pound my system at once. So far I have been just running the list (dynamically generated) through a loop, and executing every command in the background with nice in front. Only problem is that with 20 this wasn't hurting my server... at 800 I'm betting I would see CPU contention... I'm just looking for a way to 'nicely' run a series of commands that take about 1-5 seconds a piece, executing no more than like 10 at a time (unless you have a better idea?) Any help would be AWESOME! - J |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|