FreeBSD Bugzilla – Attachment 112968 Details for
Bug 154480
sysutils/ganglia-monitor-core: gmond reports wrong number of running processes.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 629 bytes, created by
KOIE Hidetaka
on 2011-02-03 07:30:11 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
KOIE Hidetaka
Created:
2011-02-03 07:30:11 UTC
Size:
629 bytes
patch
obsolete
>--- libmetrics/freebsd/metrics.c-base 2011-02-03 15:32:37.931606016 +0900 >+++ libmetrics/freebsd/metrics.c 2011-02-03 15:37:31.347603233 +0900 >@@ -541,6 +541,16 @@ proc_run_func( void ) > goto output; > > for (i = 0; i < nentries; kp++, i++) { >+#if 1 /*KOIE1*/ >+ /* This is a per-CPU idle thread. */ /* idle thread */ >+ if ((kp->ki_tdflags & TDF_IDLETD) != 0) >+ continue; >+#endif >+#if 1 /*KOIE2*/ >+ /* Ignore during load avg calculations. */ /* swi or idle thead */ >+ if ((kp->ki_tdflags & TDF_NOLOAD) != 0) >+ continue; >+#endif > #ifdef KINFO_PROC_SIZE > state = kp->ki_stat; > #else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 154480
: 112968