Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Variable Load

by thmsdrew (Scribe)
on Nov 15, 2012 at 13:14 UTC ( #1004008=note: print w/ replies, xml ) Need Help??


in reply to Variable Load

If you're executing this command within Perl--which I assume you are, and already have that working--then two for loops would suffice.

One of them counting up.

for (1..$x) { system("data_pump data -band $_"); }

The other counting down.

for (reverse 1..$x) { system("data_pump data -band $_"); }

Also, if the bandwidth isn't increasing by 1 each time, which my code assumes, use a $count variable and increment it each time in the for loop to get the desired bandwidth intervals.


Comment on Re: Variable Load
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004008]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2015-07-28 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls