[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
need help related to gnu parallel
From: |
Rohit Awasthi |
Subject: |
need help related to gnu parallel |
Date: |
Wed, 25 Jul 2012 17:44:59 -0700 |
Hi everyone, I need some help with shell scripting.
I have shell script which in the for loop goes through about 1000 hosts and downloads files using wget
Example:
for i in hosts.file
do
time wget>> log
done
Now this process takes so long to go through so many hosts on the network, and what I would like to do is to run about 10 or 20 of those commands concurrently in parallel, so instead of hours, it would take much quicker to get data collected.
I am using gnu parallel for this purpose, but not able to do it.
Please help me out in this.
Thanks,
Rohit
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- need help related to gnu parallel,
Rohit Awasthi <=