Based on this question, I would like to log the performance of a specific process, with a frequency of say one second, to a csv
(comma separated value) log file.
Something like:
timestamp(unix),cpu_activity(%),mem_usage(B),network_activity(B)
1355407327,24.6,7451518,345
1355407328,27.6,7451535,12
1355407329,31.6,7451789,467
...
network_rx
, andnetwork_tx
or so... – Theodor Dec 14 '12 at 08:29