Help for this page

Select Code to Download


  1. or download this
    my $logtime = timelocal(${sec}, ${min}, ${hour},
                              ${mday}, ${mon}, ${current_year} - ${new_yea
    +r});
    
  2. or download this
    sub getLogsSCP {
      my @hosts = @_;
    ...
    my @mon_to_month =              # Convert month numbers to names (0 ==
    + Jan)
      qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);
    
  3. or download this
    --------------------host1----------------
    Feb  2 22:58 host1 SAPBJD_03[17692]: [ID 503851 user.error] Unable to 
    +open trace file sapstartsrv.log. (Error 11 Resource temporarily unava
    +ilable) [ntservsserver.cpp 3231] Feb  2 22:58 host1 SAPBJD_02[19005]:
    + [ID 503851 user.error] Unable to open trace file sapstartsrv.log. (E
    +rror 11 Resource temporarily unavailable) [ntservsserver.cpp 3231] Fe
    +b  2 23:00 burton SAPBWD_00[22453]: [ID 365072 user.error] Unable to 
    +open trace file sapstartsrv.log. (Error 11 Resource temporarily unava
    +ilable) [ntservsserver.cpp 3405]
    ...
    ssh: connect to host host5 port 22: Connection timed out
    --------------------host6----------------
    Feb  2 04:08 host6 automountd[29387]: [ID 834250 daemon.error]