NAME

clusterwebimg - create gif thumbnails of cluster stats


SYNOPSIS

With this utility you can generate small gifs, ideal for the web, showing cluster resources.


Default Usage

 > clusterwebimg
 > ls -s ~martink/www/htdocs/clusterpunch/*gif
   4 /home/martink/www/htdocs/clusterpunch/cpu.gif
   4 /home/martink/www/htdocs/clusterpunch/load.gif
   4 /home/martink/www/htdocs/clusterpunch/nrunning.gif
   4 /home/martink/www/htdocs/clusterpunch/nusers.gif


Specifying Output Path

 > clusterwebimg -f /tmp


Adjusting Timeout

Adjust the roll call timeout to 5 seconds (default is 2 second)

 > clusterwebimg -t 5


Adjusting Server Port

You can modify the port to send the roll call broadcast to. By default, the server lives on 8095.

 > clusterwebimg -p 8096 


Adjusting the Broadcast Address

You can modify the broadcast address. By default, this is 10.1.2.255.

 > clusterwebimg -b 10.0.0.255


Debug Mode

You can receive the full node stat table and some debug text during the polling with

 > clusterwebimg -d
 clusterpunchclient.pm: timing out UDP after 2 seconds
 ...
 clusterpunchclient.pm: got data structure from web02
 $STAT1 = {
           'live' => 1,
           'nusers' => '0',
           'load' => '0.08',
           'cpu' => '0.43558',
           'io' => '0.522157',
           'mflops' => 21,
           'memfree' => 750,
           'all' => '1.081198',
           'lsof' => 1370,
           'nrunning' => 1,
           'mem' => '0.123461',
           'mhz' => 2522
         };
 ...


DESCRIPTION

This is part of the clusterpunch system. Each node that you wish to monitor must be running the clusterpunchserver daemon, documented in the clusterpunchserver. Once the server is running, you can poll it and send commands using the API documented in clusterpunchclient.pm, or through the various utilities, such as this one.


SEE ALSO


Daemons

clusterpunchserver, clusterpunch.start, clusterpunch.shutdown


API

clusterpunchclient.pm


Utilities

benchdriver, clusterbench, clusterlogin, clusternodecount, clustersnapshot, clusterwebimg


AUTHOR

Martin Krzywinski (martink@bcgsc.ca)