Changeset 13442
- Timestamp:
- 02/14/12 15:28:55 (1 year ago)
- Files:
-
- modules/branches/2.10/dashboard/page.index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.10/dashboard/page.index.php
r12851 r13442 206 206 $out .= "<h4>"._("Memory")."</h4>"; 207 207 $memory = $sysinfo->memory(); 208 $app_memory = isset($memory["ram"]["app"]) ? $memory["ram"]["app"] : $memory["ram"]["total"] - $memory["ram"]["t_free"]; 208 $app_memory = isset($memory["ram"]["app"]) ? 209 $memory["ram"]["app"] : 210 $memory["ram"]["total"] - $memory["ram"]["t_free"] - $memory['ram']['cached'] - $memory['ram']['buffers']; 211 209 212 $out .= draw_graph(_("App Memory"), "MB", number_format($app_memory/1024,2), $memory["ram"]["total"]/1024); 210 213 $out .= draw_graph(_("Swap"), "MB", number_format(($memory["swap"]["total"]-$memory["swap"]["free"])/1024,2), $memory["swap"]["total"]/1024);
