GKrellDnet - a Distributed.net client monitor plugin for GKrellM

GKrellDnet 0.14.3 is the lastest stable version.
GKrellDnet 0.10 is the lastest version for GKrellM 1.x


      
      

ScreenShot  
fig. 1
 

     


fig. 2
 
 
 
 
 
 
 























General
GKrellDnet is a Distributed.net client monitor plugin for GKrellM. I wrote this plugin because there are many such apps for Seti@Home client but none for Distributed.net  ...
Requirements
Features
  • Support the new absolute crunch-o-meter style. Nice for OGR contest (fig. 2)
  • Support new Distributed.net client (v2.8011 and up).
  • Configurable command launched on every packet completion (suggested by Ari Pollak).
  • Configurable text output format.
  • Monitor current contest, work units in input/output buffers and progress in current block/stub. 
  • Start/Stop the dnet client on mouse button click.
  • Support for multi-processors system (up to 10 CPU).

Warning:
Starting from version 0.9, dnetw no longer need a <monitor file> on the command line. So if you DO NOT start dnetw from the GKrellM plugin, YOU NEED to remove the <monitor file> from the command line.


Warning 2:
If you are using an older dnet client and dnetw (0.6.1 or newer) be sure to add '-o' option in 'dnetw' command line.


Screenshots

In fig. 1, you can see the plugin running (above CPU chart).
The client is working on a OGR stub, 36% is already done and there is 1 work unit in the input buffer and 0 in the output buffer.
Fig. 2 shows the new absolute mode, 73.94 Gnodes is already done in the current OGR stub.
Here is a screenshot (17k) of my GkrellDnet config.
Download
The lastest stable version is GKrellDnet 0.14.3 (ChangeLog).
If you are still using GKrellM 1.2.x, you should download GKrellDnet 0.10
How to use
  1. Copy the client wrapper 'dnetw' somewhere in your path. The Distributed.net client 'dnetc' must also be in your path.
  2. Check that the client do not redirect output to a file. If you want to log the client activity you should use the '-l' option of the wrapper.
  3. Try the wrapper from the shell, type 'dnetw dnetw.log' and you must get the standard client output.
  4. Copy the GKrellM plugin either in the system wide plugin directory or in your personnal plugin directory (~/.gkrellm/plugins/).
  5. Look at 'Info' tab in the plugin configuration for more info about the plugin settings.
FAQ

Q: When I try to run 'dnetw' I get the message: "shmget: File exists" ?
That means that 'dnetw' can't create his shared memory segment.
First check that there is no other 'dnetw' running. You can only run one 'dnetw'.
Then check that the file '/tmp/dnetw-shmid' do not exist. You can remove it only if there is no 'dnetw' running.
If the previous conditions are meet and you are using GKrellDnet v0.9 or less, please upgrade to GKrellDnet v0.10 or better.


Todo
  • support for other Unix systems (NetBSD, OpenBSD, OSX, ...). As I don't have access to those systems, please contact me if you want to help me. You don't need to be a C expert.
  • support the new 'live-rate' style crunch-o-meter.
  • add multiple local/remote clients monitoring.
  • add perproxy monitoring ?

- Sun Dec 16, 2007.