title: how to grep information from log files distributed in different node machine using Perl
body: <p>There are some log files distributed on several node machines /workdir/status*.log , the nodes names are stored in @nodes. 
  I need a script on host machine to gather information (eg: grep "information" status*.log ) from each logs and store the result in a file located on host.
  Currently I have to scp all the log files manually from every nodes to a host directory and then grep the information. The log file names may be the same in each nodes.
  (eg. status42.log exists in both node1 and node2 ...). Is there any better way to do this using Perl?</p>
  
  <p>Thanks!  </p>