slitaz-forge rev 377
tank has moved
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 24 10:18:22 2013 +0000 (2013-09-24) |
parents | f7caab5251c0 |
children | fc273fd26908 |
files | tank/web/graphs.php tank/web/index.php |
line diff
1.1 --- a/tank/web/graphs.php Thu Jul 25 03:03:47 2013 +0300 1.2 +++ b/tank/web/graphs.php Tue Sep 24 10:18:22 2013 +0000 1.3 @@ -41,8 +41,8 @@ 1.4 "if (n == 4) printf \"quad \"; print s }' ")?> - 1.5 <?php system("free | awk '/Mem:/ { x=2*$2-1; while (x >= 1024) { x /= 1024; ". 1.6 "n++ }; y=1; while (x > 2) { x /= 2; y *= 2}; ". 1.7 - "printf \"%d%cB RAM\",y,substr(\"MG\",n,1) }' ")?> - Located next to Lausanne, 1.8 - Switzerland. 1.9 + "printf \"%d%cB RAM\",y,substr(\"MG\",n,1) }' ")?> - Located in Gravelines, 1.10 + France. 1.11 </p> 1.12 </div> 1.13 </div>
2.1 --- a/tank/web/index.php Thu Jul 25 03:03:47 2013 +0300 2.2 +++ b/tank/web/index.php Tue Sep 24 10:18:22 2013 +0000 2.3 @@ -41,8 +41,8 @@ 2.4 "if (n == 4) printf \"quad \"; print s }' ")?> - 2.5 <?php system("free | awk '/Mem:/ { x=2*$2-1; while (x >= 1024) { x /= 1024; ". 2.6 "n++ }; y=1; while (x > 2) { x /= 2; y *= 2}; ". 2.7 - "printf \"%d%cB RAM\",y,substr(\"MG\",n,1) }' ")?> - Located next to Lausanne, 2.8 - Switzerland. Tank is also monitored by RRDtool which provides 2.9 + "printf \"%d%cB RAM\",y,substr(\"MG\",n,1) }' ")?> - Located in Gravelines, 2.10 + France. Tank is also monitored by RRDtool which provides 2.11 <a href="graphs.php">graphical stats</a>. 2.12 </p> 2.13 </div>