# HG changeset patch # User Christopher Rogers # Date 1315260853 0 # Node ID 762e56730392f95e56320f7deaee99cbe167492c # Parent 8d4f1836a270c28cae83d2e00e12736490bd714e tank: Fixed graphs.php to know what cpu the system is running. diff -r 8d4f1836a270 -r 762e56730392 tank/web/graphs.php --- a/tank/web/graphs.php Fri Sep 02 02:16:16 2011 +0000 +++ b/tank/web/graphs.php Mon Sep 05 22:14:13 2011 +0000 @@ -51,7 +51,13 @@ public directory or cron jobs.

- Tank CPU is a AMD Dual Core 2 GHz - 2GB RAM - Located next to Lausanne, + Tank CPU is a - + = 1024) { x /= 1024; ". + "n++ }; y=1; while (x > 2) { x /= 2; y *= 2}; ". + "printf \"%d%cB RAM\",y,substr(\"MG\",n,1) }' ")?> - Located next to Lausanne, Switzerland.