Re: Gkrelltop showing processes from wrong machine
Bill Wilson <[email protected]> Sun, 19 Mar 2017 17:12:37 -0500
| Newsgroups | gmane.comp.gnome.apps.gkrellm |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 19 Mar 2017 14:33:16 -0400 Patrice Levesque <[email protected]> wrote: > > > > I have gkrelltop showing on both instances, and they both show the > > same processes: the ones on the workstation. I don't see anywhere to > > configure this in ~/.gkrellm2. > > If remote data cannot be read, gkrelltop will show local processes. > Yes, but a symlink from the plugins to gkrellmd-plugins will not work and a server side gkrellmd plugin must be installed and enabled in a gkrellmd.conf file on the server. The details: The server running gkrellmd needs to have installed the server part of the plugin which is gkrelltopd.so and it should be found as one of these: ~/.gkrellm2/plugins-gkrellmd/gkrelltopd.so /usr/local/lib/gkrellm2/plugins-gkrellmd/gkrelltopd.so /usr/lib/gkrellm2/plugins-gkrellmd/gkrelltopd.so If it is there, then also it needs to enabled in a gkrellmd.conf with a line plugin-enable gkrelltopd gkrellmd.conf files can be any of (do a "man gkrellmd"): ~/.gkrellmd.conf /usr/local/etc/gkrellmd.conf /etc/gkrellmd.conf When a client gkrellm is started with gkrelltop enabled, gkrelltop looks in initialization data from the gkrellmd server to see if gkrelltop data is being sent. If so, it diverts reading data to the data received from gkrellmd. If it doesn't find that the gkrellmd server is sending gkrelltop data, it displays data from the local client machine. To debug, get server streamed data by running: gkrellm -s server -d 0x1000 > tmpfile After a few seconds, kill the gkrellm and look at tmpfile. If gkrelltop data is being sent from the server, you should see <gkrelltop> lines like: <plugin_setup> gkrelltop version 2 2 1 ... ... <gkrelltop> best 0 firefox-esr 1645 9.5 best 1 Xorg 851 2.0 best 2 gkrellm 1076 1.2 ... -- Bill Wilson <[email protected]>