diff --git a/scripts/pi-hole/js/settings-system.js b/scripts/pi-hole/js/settings-system.js index 416e6193..1b106e95 100644 --- a/scripts/pi-hole/js/settings-system.js +++ b/scripts/pi-hole/js/settings-system.js @@ -162,7 +162,7 @@ function updateMetrics() { // Set metrics setMetrics(metrics, "sysinfo-"); - $("#cache-utilization").text(((100 * cacheEntries) / cacheSize).toFixed(1) + "%"); + $("#cache-utilization").text(cacheEntries.toLocaleString() + " (" + ((100 * cacheEntries) / cacheSize).toFixed(1) + "%)"); $("div[id^='sysinfo-metrics-overlay']").hide(); // Update every 10 seconds diff --git a/settings-system.lp b/settings-system.lp index 212c40dc..31647f3d 100644 --- a/settings-system.lp +++ b/settings-system.lp @@ -176,13 +176,13 @@ mg.include('scripts/pi-hole/lua/header_authenticated.lp','r')