Help for this page

Select Code to Download


  1. or download this
    #!/bin/bash
    while read command ; do
       rsh $command snapmirror status
    done <netapps 2>&1 | mail foo@example.com
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
       chomp;
       $output .= qx( rsh $_ snapmirror status 2>&1 );
    }