Changeset 733 for branches/0.4/web/addons/job_monarch/overview.php
- Timestamp:
- 03/24/13 14:32:34 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.4/web/addons/job_monarch/overview.php
r732 r733 1019 1019 } 1020 1020 } 1021 $cpus = 0; 1021 1022 1022 1023 $cpus = $metrics[$host]["cpu_num"]["VAL"]; 1023 1024 1024 if ( !$cpus)1025 if( $cpus == 0 ) 1025 1026 { 1026 1027 $cpus = 1; … … 1081 1082 $val = $metrics[$host][$metricname]; 1082 1083 $class = "metric"; 1083 $host_link = "\"../../?c=$cluster_url&h=$host_url&r=job&jr=$jobrange&js=$jobstart\"";1084 1084 1085 1085 if ( $val["TYPE"] == "timestamp" || $always_timestamp[$metricname] ) … … 1101 1101 $graphargs = ($reports[$metricname]) ? "g=$metricname&" : "m=$metricname&"; 1102 1102 $graphargs .= "z=overview-medium&c=$cluster_url&h=$host_url&l=$load_color&v=".$val['VAL']."&job_start=$job_start&period_start=$period_start&period_stop=$period_end"; 1103 $host_link = "\"?j_view=host&c=$cluster_url&h=$host_url&job&jr=$jobrange&js=$jobstart&period_start=$period_start&period_stop=$period_end\""; 1103 1104 if( $max > 0 ) 1104 1105 {
Note: See TracChangeset
for help on using the changeset viewer.