I think it would be interesting to log the use of the CPU, the
network, and the memory throughout a protocol run.
Getting CPU and memory data is probably just a matter of reading the
correct file under /proc (good luck finding that, Windows users...).
For measuring the network usage we could keep track of the number of
bytes sent and received and so get more details than just the current
bandwidth used (which I wouldn't know how to get anyway).
|