http://www.perlmonks.org?node_id=1004008


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.