aboutsummaryrefslogtreecommitdiff
path: root/net/adblock/files/README.md
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2016-12-30 22:21:00 +0100
committerDirk Brenken <dev@brenken.org>2016-12-30 22:21:00 +0100
commit412f1f58cc0115d0b4ec8533d875764e4174087b (patch)
tree50931ac722019cf8941821464ab2dc72fa3fdd1a /net/adblock/files/README.md
parentc842884168710d65ebb23cfc0c5b9acb5cc862ff (diff)
adblock: update 2.0.3
* fixed adblock statistics in CC * print additional list details in adblock statistics Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'net/adblock/files/README.md')
-rw-r--r--net/adblock/files/README.md27
1 files changed, 25 insertions, 2 deletions
diff --git a/net/adblock/files/README.md b/net/adblock/files/README.md
index a5ecd8a13..569dab2fd 100644
--- a/net/adblock/files/README.md
+++ b/net/adblock/files/README.md
@@ -144,8 +144,31 @@ config for curl (download errors with default ssl backend!):
**example to receive adblock statistics via ubus:**
<pre><code>
-ubus call service list '{"name":"adblock_stats"}' | jsonfilter -e '@.*.instances.stats.env'
-This will output the overall domain count and the last runtime as JSON, i.e. { "blocked_domains": "136159", "last_rundate": "18.12.2016 20:49:03" }
+ubus call service list '{"name":"adblock_stats"}'
+This will output the active block lists, the overall domain count and the last runtime as JSON, i.e.:
+{
+ "adblock_stats": {
+ "instances": {
+ "stats": {
+ "running": false,
+ "command": [
+ ""
+ ],
+ "data": {
+ "active_lists": [
+ {
+ "adaway": "409",
+ "yoyo": "2368",
+ "disconnect": "3198"
+ }
+ ],
+ "blocked_domains": "5975",
+ "last_rundate": "30.12.2016 21:03:45"
+ }
+ }
+ }
+ }
+}
</code></pre>
**example cronjob for a regular block list update (/etc/crontabs/root):**