in reply to perl, ssh and grep

Hello hveneticus,

Welcome to wonderful world of Perl. your question in not that much related to Perl. I would recommend to you to take a look on the Perl module Net::OpenSSH::Parallel.

With this module you can create parallel ssh connections apply your commands and collect the data in parallel. How? Glad you ask, here are some examples that I have done for related questions Net::OpenSSH::Parallel with sudo commands, multiple machines disk space alert and Best module to execute administrator commands on external operating systems (Linux).

Hope this helps.

Seeking for Perl wisdom...on the process of learning...not there...yet!