Simple Performance Monitoring of Embedded Linux System and Results Visualization
- Idea
Lite, simple and customizable monitoring solution for Embedded Linux Systems.
Data sources are virtual files containing Linux Kernel / System statistics. This example prepared for /proc/meminfo as a data source, but it can be easily adopted for other data sources as well.
- Example
Below few graphs just to let you get an impressions of the result.
- Solution
Device side: shell script to capture data.
Development PC side: visualization of captured data
- Capture
Data capture performed by shell script. Data should be stored in CSV (Comma Separated Values) file, following column oriented data representation with caption head.
Below you can see example of file format. First (1'st) column should be time stamp of the sample, it will be used for X axis on all graphs.
- Visualization
Graph's produced using python library matplotlib
- Book
Produced *.pdf files can be merged into one "book" using pdftk utility
pdftk ./out/*.pdf cat output ./meminfo.pdf