aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-21 19:12:46 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-11-21 19:12:46 -0500
commitee63df59f259d4d69686c47fe559314929edb4e5 (patch)
treefa5f2cbbc3fcfcdb5b8d82ab9a15140f9166d8a2 /config
parentd93ed3a311a9261c11f77c1c9a3fd9ae7b7d8fc9 (diff)
downloadpfsense-packages-ee63df59f259d4d69686c47fe559314929edb4e5.tar.gz
pfsense-packages-ee63df59f259d4d69686c47fe559314929edb4e5.tar.bz2
pfsense-packages-ee63df59f259d4d69686c47fe559314929edb4e5.zip
Note how many entries
Diffstat (limited to 'config')
-rw-r--r--config/unbound/unbound_status.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/unbound/unbound_status.php b/config/unbound/unbound_status.php
index 20d9f983..9b7be071 100644
--- a/config/unbound/unbound_status.php
+++ b/config/unbound/unbound_status.php
@@ -140,13 +140,14 @@ function execCmds() {
<tr>
<td class="tabcont" width="100%">
<?php
+ $entries = trim(system("/usr/local/sbin/unbound-control dump_cache | wc -l"));
defCmdT("Unbound status", "unbound-control status", "6");
defCmdT("Unbound stats", "unbound-control stats_noreset");
defCmdT("Unbound stubs", "unbound-control list_stubs", "8");
defCmdT("Unbound forwards", "unbound-control list_forwards");
defCmdT("Unbound local zones", "unbound-control list_local_zones");
defCmdT("Unbound local data", "unbound-control list_local_data");
- defCmdT("Unbound cache", "unbound-control dump_cache", "60");
+ defCmdT("Unbound cache ($entries entries)", "unbound-control dump_cache", "60");
defCmdT("Unbound configuration", "/bin/cat /usr/local/etc/unbound/unbound.conf", "60");
listCmds();
execCmds();