Your best bet would be to do this in another language such as perl or c
where you can build a multithreaded application to look these up. Along the
same note you can also split the file into a number of parts and run
multiple instances of the same script. Afaik, the only way to decrease the
time
Aaron Gould wrote:
>
> I'm at the end of my rope here...
>
> I have a 100,000+ line file containing IP addresses. For each line, I need
> to run a "gethostbyaddr" command. However, some lines take a long time to
> timeout. Is there a way I can decrease this timeout period to one or two
> seco
2 matches
Mail list logo