Gkrellmd

Gkrellm is a utility to display system stats (cpu, processes, memory, …) in a nice little window.

You should see a screenshot over on the right there ;-)

mybookworld-gkrellmd.png

I usually run it in X (Linux's display manager) to monitor my normal Linux machine, however, it can also run on a remote machine as a daemon, gkrellmd.

Here I show you how to install gkrellmd onto the MyBook so you can connect to it remotely from the client, gkrellm2, running on a Linux (or maybe Windows) box.

I'm assuming you have the SSH Hack and OptWare installed, if you haven't you should check it out!

First you'll need to ssh into your MyBook as root using an ssh client.

If you haven't already you'll also need install the glib libraries. If you have OptWare you can do this easily:

ipkg install glib
ldconfig

Then…

1. Change directory

cd /opt/src

2. Download the tarball

wget http://members.dslextreme.com/users/billw/gkrellm/gkrellm-2.3.1.tar.gz

3. Extract the tarball

tar xvzf gkrellm-2.3.1.tar.gz

4. Change directory again

cd gkrellm-2.3.1/server/

5. Build the source

export PKG_CONFIG_PATH=/opt/lib/pkgconfig/
make

6. Install the source

make install INSTALLROOT=/opt

7. Create a handy symlink in /usr/bin

ln -s /opt/bin/gkrellmd /usr/bin/gkrellmd

8. Run the daemon

gkrellmd -m 1 -d

9. Connect using the client - On a Linux box:

gkrellm -s mybookworld &

On windows: install the client, go to the installation dir, and run
gkrellm.exe --server mybookworld

You should see gkrellm2 appear showing the streamed statistics fromyour MyBook world :-P

Gkrellm runs a variety of platforms (including Windows) — checkout the gkrellm site for more info.

A lot of this is from memory. Any problems give me a shout over in the support thread.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License