Help for this page

Select Code to Download


  1. or download this
    system("grep 'packet loss' ... > /home/.../$TARGET_HOST.PL.log");
    
  2. or download this
    open(PL, "grep ... | ... |")
      or die "unable to open pipe from grep command: $!";
    while (<PL>) { ... }
    close(PL);