Re: 2 cpu's on gkrellm?
Frederick Bruckman <fredb <at> immanent.net>
2004-02-01 04:48:35 GMT
On Sun, 1 Feb 2004, Paul (NCC/CS) wrote:
> I've just started running dual cpu's with the multiprocessor kernel.
> Both CPU's are running no problem.
>
> However gkrellm, doesn't show 2 cpu's though?
> (it does on a dual cpu box at work running linux)
>
> Is gkrellm supposed to show 2 cpu's with netbsd?
> any ideas or help appreciated,
Not gkrellm-1.2.13 -- that's hopeless -- but here's a patch for
gkrellm-2.1.24. (Latest is actually 2.1.25; the patch should apply
cleanly to that, too.) gkrellm-2 builds mostly out-of-the-box.
To build against gtk2 from pkgsrc, I had to move
"/usr/X11R6/lib/libfontconfig.so.1" out of the way, then "gmake
netbsd2 && gmake install_netbsd", then move "libfontconfig.so.1"
back... else you won't even be able to launch an xterm!
gkrellm-2 is client/server, which is really cool if you have a
bunch of hosts but only one Xserver. Works with IPv6, too.
Frederick
diff -ur gkrellm-2.1.24.bak/src/sysdeps/netbsd.c gkrellm-2.1.24/src/sysdeps/netbsd.c
--- gkrellm-2.1.24.bak/src/sysdeps/netbsd.c 2003-10-08 10:51:51.000000000 -0500
+++ gkrellm-2.1.24/src/sysdeps/netbsd.c 2004-01-31 21:37:47.000000000 -0600
<at> <at> -54,27 +54,48 <at> <at>
#include <sys/sysctl.h>
#include <sys/sched.h>
(Continue reading)