mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	bye bye debug output, le sigh - also add newline before stats
git-svn-id: http://www.observium.org/svn/observer/trunk@3157 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
		@@ -74,8 +74,6 @@ if (!$where)
 | 
			
		||||
  exit;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
print_r($options);
 | 
			
		||||
 | 
			
		||||
if (isset($options['d']))
 | 
			
		||||
{
 | 
			
		||||
  echo("DEBUG!\n");
 | 
			
		||||
@@ -123,7 +121,8 @@ if ($polled_devices)
 | 
			
		||||
$string = $argv[0] . " $doing " .  date("F j, Y, G:i") . " - $polled_devices devices polled in $poller_time secs";
 | 
			
		||||
if ($debug) { echo("$string\n"); }
 | 
			
		||||
 | 
			
		||||
echo('MySQL: Cell['.($db_stats['fetchcell']+0).'/'.round($db_stats['fetchcell_sec']+0,2).'s]'.
 | 
			
		||||
echo("\n" .
 | 
			
		||||
     'MySQL: Cell['.($db_stats['fetchcell']+0).'/'.round($db_stats['fetchcell_sec']+0,2).'s]'.
 | 
			
		||||
            ' Row['   .($db_stats['fetchrow']+0). '/'.round($db_stats['fetchrow_sec']+0,2).'s]'.
 | 
			
		||||
           ' Rows['   .($db_stats['fetchrows']+0).'/'.round($db_stats['fetchrows_sec']+0,2).'s]'.
 | 
			
		||||
         ' Column['.($db_stats['fetchcol']+0). '/'.round($db_stats['fetchcol_sec']+0,2).'s]'.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user