vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r18821: Removed extra line in monitiring script ...

Committer: vad
Removed extra line in monitiring script output.
U   trunk/bin/web_servers_uptime.pl
Modified: trunk/bin/web_servers_uptime.pl
===================================================================
--- trunk/bin/web_servers_uptime.pl	2011-04-07 10:28:59 UTC (rev 18820)
+++ trunk/bin/web_servers_uptime.pl	2011-04-07 21:06:36 UTC (rev 18821)
@@ -21,6 +21,7 @@
     foreach my $server (@servers){
         my $uptime = get_uptime($server);
         my $str = localtime($uptime);
+        chomp $server;
         print "$server -> $uptime ($str)\n";
     }
 

Tags: livejournal, pl, vadvs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments