@cryptotaxi247 / netdata-1 / commits / e2d151d59

Fix CPU charts in apps plugin on FreeBSD (#7115)

Vladimir Kobal committed Oct 17, 2019 at 15:18 UTC e2d151d5923b9ae89d38cd260942a5f4cf11a238
1 file changed +1 -1
collectors/apps.plugin/apps_plugin.c
+1 -1
@@ -2569,7 +2569,7 @@ static int collect_data_for_all_processes(void) {
2569
2570 size_t new_procbase_size;
2571
2572 - int mib[3] = { CTL_KERN, KERN_PROC, KERN_PROC_ALL };
2572 + int mib[3] = { CTL_KERN, KERN_PROC, KERN_PROC_PROC };
2573 if (unlikely(sysctl(mib, 3, NULL, &new_procbase_size, NULL, 0))) {
2574 error("sysctl error: Can't get processes data size");
2575 return 0;