0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-17 11:12:42 +00:00

Add command-line option descriptions for apps.plugin ()

This commit is contained in:
Vladimir Kobal 2019-09-02 13:25:49 +03:00 committed by GitHub
parent 578e4b5710
commit afd079207a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions
collectors/apps.plugin

View file

@ -142,6 +142,13 @@ ones at the top. Processes not matched by any row, will inherit it from their pa
The order also controls the order of the dimensions on the generated charts (although applications started
after apps.plugin is started, will be appended to the existing list of dimensions the `netdata` daemon maintains).
There are a few command line options you can pass to `apps.plugin`. The list of available options can be acquired with the `--help` flag. The options can be set in the `netdata.conf` file. For example, to disable user and user group charts you should set
```
[plugin:apps]
command options = without-users without-groups
```
## Permissions
`apps.plugin` requires additional privileges to collect all the information it needs.

View file

@ -3957,6 +3957,10 @@ static void parse_args(int argc, char **argv)
" without-files enable / disable reporting files, sockets, pipes\n"
" (default is enabled)\n"
"\n"
" without-users disable reporting per user charts\n"
"\n"
" without-groups disable reporting per user group charts\n"
"\n"
#ifndef __FreeBSD__
" fds-cache-secs N cache the files of processed for N seconds\n"
" caching is adaptive per file (when a file\n"