Fwd: Performance monitoring (RAM and CPU usage) of a C++ application

11 views
Skip to first unread message

Kubiack

unread,
Apr 5, 2018, 12:06:22 PM4/5/18
to jenkins...@googlegroups.com

Hello Jenkins Users


I am currently using Jenkins for automated tests on a C++ application running on Ubuntu.

I use a Jenkinsfile to automate the build steps; most of them are shell commands :

'sh make build'

'sh make test1'

and so on ...

The tests produces CSV files consumed by the plot plugin so I have nice graphs of the evolution of some metrics (numerical precisions mostly, we are doing research).

I want to add a step which runs my application and monitor the RAM and CPU usage and output a CSV (for plots again). The idea is to be able to see the "progresses" on RAM and CPU usage (mean, max, std-dev) accross each builds.

I currently have no idea about how to do that, except maybe a bash script running 'top' or similar command periodically during the execution of the application.

Is someone knows a better way to do that ?

Any idea will be greatly appreciated !



Reply all
Reply to author
Forward
0 new messages