User Tools

Site Tools


due_to_source_code_changing_1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
due_to_source_code_changing_1 [2013/07/25 14:35]
noskov
due_to_source_code_changing_1 [2013/07/25 16:59]
noskov
Line 1: Line 1:
 The file "​cluster_view.php"​ in the ganglia home directory(/​usr/​share/​ganglia/​) was changed: The file "​cluster_view.php"​ in the ganglia home directory(/​usr/​share/​ganglia/​) was changed:
  
-the original code(at line 168): 
  
  
 +<code php the original code(at line 168)>
    ...    ...
    ​$sorted_hosts = array_merge($down_hosts,​ $sorted_hosts);​    ​$sorted_hosts = array_merge($down_hosts,​ $sorted_hosts);​
Line 14: Line 14:
    ​foreach ( $sorted_hosts as $host => $value )    ​foreach ( $sorted_hosts as $host => $value )
    { ...    { ...
 +</​code>​
     ​     ​
  
- +<code php the changed code>
-the changed code+
    ...    ...
    ​$sorted_hosts = array_merge($down_hosts,​ $sorted_hosts);​    ​$sorted_hosts = array_merge($down_hosts,​ $sorted_hosts);​
Line 32: Line 30:
       list($min, $max) = find_limits($host,​ $metricname);​ ##### max/min for every host separatly       list($min, $max) = find_limits($host,​ $metricname);​ ##### max/min for every host separatly
    ...    ...
 +    
 +</​code>​
due_to_source_code_changing_1.txt · Last modified: 2013/08/07 17:22 by noskov