Guest User

Untitled

a guest
Oct 17th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. use strict;
  2. use warnings;
  3.  
  4. #my $ssh = 'ssh localhost';
  5. my $ssh = 'ssh -t localhost';
  6. open my $fh, '-|', "$ssh \"iostat 1 3\" & $ssh \"iostat 1 3\" & $ssh \"iostat 1 3\"" or die $!;
  7. while (<$fh>) {
  8. print "aaaa $_";
  9. }
  10. close $fh;
Add Comment
Please, Sign In to add comment