Help for this page

Select Code to Download


  1. or download this
    my $confpath;
    my $servername;
    ...
    $confpath = "/export/mksysb";
    $filepath = "/export/mksysb";
    $filemaxage = "360";
    
  2. or download this
    my $confpath   = '/export/mksysb';
    my $filepath   = '/export/mksysb';
    my $filemaxage = 360;
    
  3. or download this
    while(<FILE>){
        chomp($servername = $_);
    
  4. or download this
    while ( my $servername = <FILE> ) {
        chomp $servername;
    
  5. or download this
            if (-M $_ > "$filemaxage"){
    
  6. or download this
            mkdir("$filepath/$servername");
    
    system("nim -o define -t mksysb -a server=master -a mk_image=yes -a lo
    +cation=$filepath/$servername/$servername\_`date +%m%d%Y` -a source=$s
    +ervername $servername\_`date +%m%d%Y`");