From cf415c705da2e46884a5cceac046568cd23ddbc0 Mon Sep 17 00:00:00 2001 From: Darko Date: Tue, 14 Oct 2014 09:40:07 +0200 Subject: [PATCH] Adjustment of info in monitor. --- bin/monitor.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/monitor.php b/bin/monitor.php index 5abaaaf56..7346bd396 100644 --- a/bin/monitor.php +++ b/bin/monitor.php @@ -8,7 +8,7 @@ require_once(WWW_DIR . "/lib/showsleep.php"); require_once(dirname(__FILE__) . "/../lib/functions.php"); -$version = "0.5r0005"; +$version = "0.5r0006"; $pdo = new DB(); $s = new Sites(); @@ -503,7 +503,7 @@ if ($monitor_path != "") { echo "\n"; printf($mask3, "Binaries", "Parts", "Parts in Repair"); printf($mask3, "=========================", "======================================", "========================="); -printf($mask3, number_format($binaries_table), number_format($parts_table), number_format($partrepair_table)); +printf($mask4, number_format($binaries_table), number_format($parts_table), number_format($partrepair_table)); echo "\n"; printf($mask3, "Category", "In Process", "In Database"); printf($mask3, "====================", "====================", "===================="); @@ -1266,7 +1266,8 @@ while ($i > 0) { echo "\n"; printf($mask3, "Binaries", "Parts", "Parts in Repair"); printf($mask3, "=========================", "======================================", "========================="); - printf($mask3, number_format($binaries_table), number_format($parts_table), number_format($partrepair_table)); + printf($mask4, number_format($binaries_table), number_format($parts_table), number_format($partrepair_table)); + echo "\n"; if ($monitor_path != "") { printf($mask4, "Ramdisk", "$disk_use used", "$disk_free free"); }