Merge pull request #2485 from rpv-tomsk/processes
authorPavel Rochnyak <pavel2000@ngs.ru>
Wed, 18 Oct 2017 09:02:55 +0000 (16:02 +0700)
committerGitHub <noreply@github.com>
Wed, 18 Oct 2017 09:02:55 +0000 (16:02 +0700)
processes: Improved documentation

1  2 
src/collectd.conf.pod

@@@ -6839,16 -6577,20 +6864,26 @@@ I<name> must not contain slashes
  
  =item B<CollectContextSwitch> I<Boolean>
  
- Collect context switch of the process.
+ Collect the number of context switches for matched processes.
+ Disabled by default.
+ =item B<CollectFileDescriptor> I<Boolean>
+ Collect number of file descriptors of matched processes.
+ Disabled by default.
  
 +=item B<CollectMemoryMaps> I<Boolean>
 +
 +Collect the number of memory mapped files of the process.
 +The limit for this number is configured via F</proc/sys/vm/max_map_count> in
 +the Linux kernel.
 +
  =back
  
+ Options B<CollectContextSwitch> and B<CollectFileDescriptor> may be used inside
+ B<Process> and B<ProcessMatch> blocks - then they affect corresponding match
+ only. Otherwise they set the default value for subsequent matches.
  =head2 Plugin C<protocols>
  
  Collects a lot of information about various network protocols, such as I<IP>,