This is simple app to collect data about system cpu and memory usage over time.
After collecting results into csv file, html file can be created with plot.
I needed a simple and fast application to collect basic information about the amount of RAM used and CPU consumption on a slow(4x1Ghz) 32 bit ARM computer which uses custom OS.
I looked at a few applications, i.e. grafana, but they are usually too heavy or work in a client server architecture which in this case I would prefer to avoid.
Just run app, without any arguments and close app after while with ctrl+c, results will be collected inside readable data.csv
file and then out.html
file will be produced and opened automatically in web browser.