@cryptotaxi247 / netdata-1 / commits / a7cd45053

Improve apps grouping config and docs (#5269)

Vladimir Kobal committed Jan 31, 2019 at 11:44 UTC a7cd45053bde6487ea88de1b568e23319f183374
2 files changed +9 -7
collectors/apps.plugin/README.md
+7 -6
@@ -77,7 +77,7 @@ To do this, edit `/etc/netdata/netdata.conf` and find this section:
77 ```
78 [plugin:apps]
79 # update every = 1
80 - # command options =
80 + # command options =
81 ```
82
83 Uncomment the line `update every` and set it to a higher number. If you just set it to ` 2 `,
@@ -100,7 +100,8 @@ For the **Applications** section, only groups configured in this file are report
100 All other processes will be reported as `other`.
101
102 For each process given, its whole process tree will be grouped, not just the process matched.
103 -The plugin will include both parents and children.
103 +The plugin will include both parents and children. If including the parents into the group is
104 +undesirable, the line `other: *` should be appended to the `apps_groups.conf`.
105
106 The process names are the ones returned by:
107
@@ -254,7 +255,7 @@ Exactly like `top`, `htop` is providing an incomplete breakdown of the system CP
255
256 ```
257 CPU[||||||||||||||||||||||||100.0%] Tasks: 27, 11 thr; 2 running
257 - Mem[||||||||||||||||||||85.4M/993M] Load average: 1.16 0.88 0.90
258 + Mem[||||||||||||||||||||85.4M/993M] Load average: 1.16 0.88 0.90
259 Swp[ 0K/0K] Uptime: 3 days, 21:37:03
260
261 PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
@@ -305,10 +306,10 @@ MEM [ 23.7%] user: 30.9% total: 993M total: 0 1 min: 1.18
306 SWAP [ 0.0%] system: 67.8% used: 236M used: 0 5 min: 1.08
307 idle: 0.0% free: 757M free: 0 15 min: 1.00
308
308 -NETWORK Rx/s Tx/s TASKS 75 (90 thr), 1 run, 74 slp, 0 oth
309 +NETWORK Rx/s Tx/s TASKS 75 (90 thr), 1 run, 74 slp, 0 oth
310 eth0 168b 2Kb
310 -eth1 0b 0b CPU% MEM% PID USER NI S Command
311 -lo 0b 0b 13.5 0.4 12789 root 0 S -bash
311 +eth1 0b 0b CPU% MEM% PID USER NI S Command
312 +lo 0b 0b 13.5 0.4 12789 root 0 S -bash
313 1.6 2.2 7025 root 0 R /usr/bin/python /u
314 DISK I/O R/s W/s 1.0 0.0 9 root 0 S rcuos/0
315 vda1 0 4K 0.3 0.2 7024 netdata 0 S /usr/libexec/netda
collectors/apps.plugin/apps_groups.conf
+2 -1
@@ -257,7 +257,8 @@ airflow: *airflow*
257 # X
258
259 X: X Xorg xinit lightdm xdm pulseaudio gkrellm xfwm4 xfdesktop xfce* Thunar
260 -X: xfsettingsd xfconfd gnome-* gdm gconf* dconf* xfconf* *gvfs gvfs* kdm slim
260 +X: xfsettingsd xfconfd gnome-* gdm gconf* dconf* xfconf* *gvfs gvfs* slim
261 +X: kdeinit* kdm plasmashell
262 X: evolution-* firefox chromium opera vivaldi-bin epiphany WebKit*
263 X: '*systemd --user*' chrome *chrome-sandbox* *google-chrome* *chromium* *firefox*
264