Re: SMP per-CPU statistics under FreeBSD.

Hajimu UMEMOTO <[email protected]>
Newsgroups gmane.comp.gnome.apps.gkrellm
Organization Internet Mutual Aid Society, YOKOHAMA
Message-ID <yger73lgk9z.wl%[email protected]>
Hi,

>>>>> On Tue, 25 Apr 2006 22:52:47 +0000
>>>>> Marco van Tol <[email protected]> said:

marco> I fixed it by putting 'len = sizeof(cp_time);' on line 149, right before
marco> doing the sysctl for oid_pcpu_time, at which point it does indicate the
marco> correct space available in cp_time.  This may be crude, and you may want to
marco> fix it more elegantly, but it does fix it.

Oops, thanks.  Your fix is correct.

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
[email protected]  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/

_______________________________________________
Gkrellm mailing list
[email protected]
http://ninja.linux-phreak.biz/mailman/listinfo/gkrellm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.