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

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: 
@@ -227,7 +226,7 @@ Examples below for process group `sql`:
226
- Disk Physical Writes 
227
- Disk Logical Reads 
228
- Disk Logical Writes 
230
-- Open Files 
229
+- Open Files 
230
- Real Memory 
231
- Virtual Memory 
232
- Swap Memory 
@@ -235,8 +234,8 @@ Examples below for process group `sql`:
234
- Processes 
235
- Threads 
236
- Major Faults (swap activity) 
238
-- Open Pipes 
239
-- Open Sockets 
237
+- Open Pipes 
238
+- Open Sockets 
239
240
For more information about badges check [Generating Badges](https://github.com/netdata/netdata/blob/master/web/api/badges/README.md)
241