gmond is in sysutils/ganglia-monitor-core. gmond resports reports running processes >= CPU even if system is idle. for example, on 4 CPU machine, gmond reports 4 processes are running at least. Fix: when counting, idle threads running on each CPU must be skipped. I don't know SWI (software interrupt) thread should be skipped. Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->brooks over to maintainer
brooks 2011-05-19 18:10:20 UTC FreeBSD ports repository Modified files: sysutils/ganglia-monitor-core Makefile sysutils/ganglia-monitor-core/files patch-libmetrics_freebsd_metrics.c Log: Don't report idle processes as running processing. Also don't count P_NOLOAD and TDF_NOLOAD processes. PR: ports/154480 Submitted by: KOIE Hidetaka <koie at suri.co.jp> Revision Changes Path 1.39 +1 -1 ports/sysutils/ganglia-monitor-core/Makefile 1.5 +29 -8 ports/sysutils/ganglia-monitor-core/files/patch-libmetrics_freebsd_metrics.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed with some small changes to account for the fact that TDF_NOLOAD doesn't exist until after 8.2.