]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Changelog: processes plugin: get # processes running from /proc/stat
authorBart De Vos <bart-de-vos@telenet.be>
Fri, 30 Aug 2019 07:33:07 +0000 (09:33 +0200)
committerBart De Vos <bart-de-vos@telenet.be>
Fri, 30 Aug 2019 07:33:07 +0000 (09:33 +0200)
src/processes.c

index 12beee903447e6244f7dc54ba2a6a9d884847c24..cf78de905d1ef501a17f65178c418627909ee8e0 100644 (file)
@@ -2119,6 +2119,7 @@ static int ps_read(void) {
 
   closedir(proc);
 
+  /* get procs_running from /proc/stat */
   running = procs_running();
 
   ps_submit_state("running", running);