| 56 |  | $string = preg_replace("/$hex_underscore/", "_", $string); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 57 |  | return "Disk usage: $string"; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 58 |  | } | 
 
 
 
 
 
 
 
 | 59 | + |  | 
 
 
 
 
 
 
 
 | 60 | + | # The name DiskIO information should be displayed as | 
 
 
 
 
 
 
 
 | 61 | + | if(preg_match("/^diskio-(\S+)$/", $string, $matches)) { | 
 
 
 
 
 
 
 
 | 62 | + | return "Disk IO: $matches[1]"; | 
 
 
 
 
 
 
 
 | 63 | + | } | 
 
 
 
 
 
 
 
 | 64 | + |  | 
 
 
 
 
 
 
 
 | 65 | + | # The name Network information should be displayed as | 
 
 
 
 
 
 
 
 | 66 | + | if(preg_match("/^net-(\S+)$/", $string, $matches)) { | 
 
 
 
 
 
 
 
 | 67 | + | return "Network usage: $matches[1]"; | 
 
 
 
 
 
 
 
 | 68 | + | } | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 69 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 70 |  | # The name Queue information should be displayed as | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 71 |  | if($machine_name == "i-scream-server" && preg_match("/^\d+$/", $string)) { |