diff options
author | Vladimir Kobal <vlad@prokk.net> | 2019-09-02 13:25:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-02 13:25:49 +0300 |
commit | afd079207acea5132656e1b72b0f636ac784b96c (patch) | |
tree | 980c2f0b63cdeaa770fc61ecef5ee292c8a49b3e /collectors/apps.plugin | |
parent | 578e4b5710589f35c9f4b4b348f649be2c5d1d36 (diff) |
Add command-line option descriptions for apps.plugin (#6738)
Diffstat (limited to 'collectors/apps.plugin')
-rw-r--r-- | collectors/apps.plugin/README.md | 7 | ||||
-rw-r--r-- | collectors/apps.plugin/apps_plugin.c | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/collectors/apps.plugin/README.md b/collectors/apps.plugin/README.md index 967ebb2d8e..1b682bc659 100644 --- a/collectors/apps.plugin/README.md +++ b/collectors/apps.plugin/README.md @@ -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. diff --git a/collectors/apps.plugin/apps_plugin.c b/collectors/apps.plugin/apps_plugin.c index 47f5d6ede7..29d38bb417 100644 --- a/collectors/apps.plugin/apps_plugin.c +++ b/collectors/apps.plugin/apps_plugin.c @@ -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" |