| 
        | 
      
        
       
        Graph Options 
        
	Type options 
	
        
       | 
     
        | 
      
       
        
         
	 $root_dir = dir($mon2web["tree"]);
         while ($machine = $root_dir->read()) {
	     if ($machine != '.' && 
		 $machine != '..' && 
		 is_dir($mon2web["tree"]."/".$machine)) {
		 print '
          | '. $machine . '    | 
';
	     }
	 }
?>
	  
         
        
       
	
read()) {
      if ($machine != '.' && 
	  $machine != '..' && 
	  is_dir($mon2web["tree"]."/".$machine)) {
	  print '
        
        
';
	  $machine_dir = dir($mon2web["tree"]."/".$machine);
	  while ($filename = $machine_dir->read()) {
	      $file = $mon2web["tree"]."/".$machine."/".$filename;
	      if (is_file($file) && 
		  preg_match("/^(cpu|if|io|mem)(_([a-z]+))?([0-9]?).rrd$/", 
			     $filename, $match)) {
		  $rrdtype = $match[1];
		  $rrdwhat = $match[3];
		  $rrdwhich = $match[4];
		  
		  $cmd = make_graph_url($rrdtype,
					"rrdfile=".$file.
					"&name=".$rrdtype.$rrdwhat.$rrdwhich);
		  print '  '."\n";
	      }
	  }
	  print '
        
';
      }
  }
?>
        Copyright © 2002 Willem Dijkstra 
        
       |  
      
        |