@cryptotaxi247 / netdata-1 / commits / afd079207

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

Vladimir Kobal committed Sep 2, 2019 at 13:25 UTC afd079207acea5132656e1b72b0f636ac784b96c
2 files changed +11
collectors/apps.plugin/README.md
+7
@@ -142,6 +142,13 @@ ones at the top. Processes not matched by any row, will inherit it from their pa
142 The order also controls the order of the dimensions on the generated charts (although applications started
143 after apps.plugin is started, will be appended to the existing list of dimensions the `netdata` daemon maintains).
144
145 +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
146 +
147 +```
148 +[plugin:apps]
149 + command options = without-users without-groups
150 +```
151 +
152 ## Permissions
153
154 `apps.plugin` requires additional privileges to collect all the information it needs.
collectors/apps.plugin/apps_plugin.c
+4
@@ -3957,6 +3957,10 @@ static void parse_args(int argc, char **argv)
3957 " without-files enable / disable reporting files, sockets, pipes\n"
3958 " (default is enabled)\n"
3959 "\n"
3960 + " without-users disable reporting per user charts\n"
3961 + "\n"
3962 + " without-groups disable reporting per user group charts\n"
3963 + "\n"
3964 #ifndef __FreeBSD__
3965 " fds-cache-secs N cache the files of processed for N seconds\n"
3966 " caching is adaptive per file (when a file\n"