"be consistent" | |
PerlMonks |
Re: parse /etc/passwd and output it as csv in hundred serversby thanos1983 (Parson) |
on Apr 13, 2018 at 14:36 UTC ( [id://1212815]=note: print w/replies, xml ) | Need Help?? |
Hello garcimo, Fellow Monk hippo answered your question already, but I would like to add some comments since you post your question. Why you use 190 (passwords, username connections)? First of all it is less secure and second you use too many unnecessary resources, use ssh keys. Second point of view, 190 connections will take more time and in case of one node is down you need to wait until timeout and proceed to next if not blocked. why not use Net::OpenSSH::Parallel? Sample of code for both modules using ssh keys can be found here Re: Perl script works differently from Apache then CMD line. Hope this helps, BR.
Seeking for Perl wisdom...on the process of learning...not there...yet!
In Section
Seekers of Perl Wisdom
|
|