@cryptotaxi247 / netdata-1 / commits / 51eb8c3db

docs: fix apps fd badges and typos (#15539)

Ilya Mashchenko committed Jul 26, 2023 at 13:56 UTC 51eb8c3dbe9358845b8efa83d5db4e097905e86b
1 file changed +8 -9
collectors/apps.plugin/README.md
+8 -9
@@ -30,7 +30,7 @@ a predefined set of members (of course, only process groups found running are re
30 Unlike traditional process monitoring tools (like `top`), `apps.plugin` is able to account the resource
31 utilization of exit processes. Their utilization is accounted at their currently running parents.
32 So, `apps.plugin` is perfectly able to measure the resources used by shell scripts and other processes
33 -that fork/spawn other short lived processes hundreds of times per second.
33 +that fork/spawn other short-lived processes hundreds of times per second.
34
35 ## Charts
36
@@ -75,7 +75,7 @@ The above are reported:
75
76 - For **Applications** per target configured.
77 - For **Users** per username or UID (when the username is not available).
78 -- For **User Groups** per groupname or GID (when groupname is not available).
78 +- For **User Groups** per group name or GID (when group name is not available).
79
80 ## Performance
81
@@ -183,8 +183,7 @@ If this fails (i.e. `setcap` fails), `apps.plugin` is setuid to `root`.
183 There are a few cases, like `docker` and `virtuozzo` containers, where `setcap` succeeds, but the capabilities
184 are silently ignored (in `lxc` containers `setcap` fails).
185
186 -In these cases ()`setcap` succeeds but capabilities do not work), you will have to setuid
187 -to root `apps.plugin` by running these commands:
186 +In this case, you will have to setuid to root `apps.plugin` by running these commands:
187
188 ```sh
189 chown root:netdata /usr/libexec/netdata/plugins.d/apps.plugin
@@ -200,7 +199,7 @@ iterating forever, collecting metrics for each running process and sending them
199 This is a one-way communication, from `apps.plugin` to Netdata.
200
201 So, since `apps.plugin` cannot be instructed by Netdata for the actions it performs,
203 -we think it is pretty safe to allow it have these increased privileges.
202 +we think it is pretty safe to allow it to have these increased privileges.
203
204 Keep in mind that `apps.plugin` will still run without escalated permissions,
205 but it will not be able to collect all the information.
@@ -219,7 +218,7 @@ Here is an example for the process group `sql` at `https://registry.my-netdata.i
218
219 ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.processes&dimensions=sql&value_color=green%3E0%7Cred)
220
222 -Netdata is able give you a lot more badges for your app.
221 +Netdata is able to give you a lot more badges for your app.
222 Examples below for process group `sql`:
223
224 - CPU usage: ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.cpu&dimensions=sql&value_color=green=0%7Corange%3C50%7Cred)
@@ -227,7 +226,7 @@ Examples below for process group `sql`:
226 - Disk Physical Writes ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.pwrites&dimensions=sql&value_color=green%3C100%7Corange%3C1000%7Cred)
227 - Disk Logical Reads ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.lreads&dimensions=sql&value_color=green%3C100%7Corange%3C1000%7Cred)
228 - Disk Logical Writes ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.lwrites&dimensions=sql&value_color=green%3C100%7Corange%3C1000%7Cred)
230 -- Open Files ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.files&dimensions=sql&value_color=green%3E30%7Cred)
229 +- Open Files ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.fds_files&dimensions=sql&value_color=green%3E30%7Cred)
230 - Real Memory ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.mem&dimensions=sql&value_color=green%3C100%7Corange%3C200%7Cred)
231 - Virtual Memory ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.vmem&dimensions=sql&value_color=green%3C100%7Corange%3C1000%7Cred)
232 - Swap Memory ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.swap&dimensions=sql&value_color=green=0%7Cred)
@@ -235,8 +234,8 @@ Examples below for process group `sql`:
234 - Processes ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.processes&dimensions=sql&value_color=green%3E0%7Cred)
235 - Threads ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.threads&dimensions=sql&value_color=green%3E=28%7Cred)
236 - Major Faults (swap activity) ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.major_faults&dimensions=sql&value_color=green=0%7Cred)
238 -- Open Pipes ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.pipes&dimensions=sql&value_color=green=0%7Cred)
239 -- Open Sockets ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.sockets&dimensions=sql&value_color=green%3E=3%7Cred)
237 +- Open Pipes ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.fds_pipes&dimensions=sql&value_color=green=0%7Cred)
238 +- Open Sockets ![image](https://registry.my-netdata.io/api/v1/badge.svg?chart=apps.fds_sockets&dimensions=sql&value_color=green%3E=3%7Cred)
239
240 For more information about badges check [Generating Badges](https://github.com/netdata/netdata/blob/master/web/api/badges/README.md)
241