Add a monitoring tool to the wu server
Imported issue: Initially reported by @gaudry in https://gforge.inria.fr/tracker/?group_id=2065&aid=16699
During large computations with many clients running tasks, it would be quite convenient to have a tool for monitoring what is the current status. This could take the form of a webpage served by the wu server and giving a lot of information. For instance (not exhaustive):
-
number of active clients (active means: a client that has recently sent a result)
-
during polyselect: average number of ad received per second by the server.
-
during sieving: average number of relations received per second.
-
the list of clients with an assigned task, and for each of them, one can click and get the history of this client.
-
(maybe only under request) the list of all clients seen from the beginning of the computation, sorted by ""last seen date"", and again, with a click on a client, get the history.
The ""history"" of a client could include:
-
list of tasks done by this client (and if one clicks, one gets the all the relevant data for this task)
-
rate of timedout tasks
-
total number of relations and of ad computed by this client.
Of course, a monitoring tool that give only a small part of all this would already be quite useful.