8000 processes plugin: Code cleanup + add per-process open files count by rpv-tomsk · Pull Request #1989 · collectd/collectd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

processes plugin: Code cleanup + add per-process open files count #1989

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/collectd.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,18 @@
#</Plugin>

#<Plugin processes>
# CollectFileDescriptor true
# CollectContextSwitch true
# Process "name"
# ProcessMatch "name" "regex"
# <Process "collectd">
# CollectFileDescriptor false
# CollectContextSwitch false
# </Process>
# <ProcessMatch "name" "regex">
# CollectFileDescriptor false
# CollectContextSwitch true
# </Process>
#</Plugin>

#<Plugin protocols>
Expand Down
12 changes: 9 additions & 3 deletions src/collectd.conf.pod
Original file line number Diff line number Diff line change
Expand Up @@ -6528,9 +6528,15 @@ C<I<prefix>/var/run/collectd-powerdns>.
=item B<Process> I<Name>

Select more detailed statistics of processes matching this name. The statistics
collected for these selected processes are size of the resident segment size
(RSS), user- and system-time used, number of processes and number of threads,
io data (where available) and minor and major pagefaults.
collected for these selected processes are:
- size of the resident segment size (RSS)
- user- and system-time used
- number of processes
- number of threads
- number of open files (under Linux)
- io data (where available)
- context switches (under Linux)
- minor and major pagefaults.

Some platforms have a limit on the length of process names. I<Name> must stay
below this limit.
Expand Down
Loading
0