Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can supervisord be used for memory and CPU usage profiling of a program

I have to find if running a particular api repeatedly over a period of time cause memory leak.

I have a simple C program which is used to test the API once. I am planning to compile it and run the exe using supervisord repeatedly.

Can supervisord also profile the program's CPU and memory usage?
I searched extensively in several blogs but did not find much information on profiling ability of supervisord.

More about supervisor at http://supervisord.org

like image 591
kk. Avatar asked Nov 19 '10 08:11

kk.


1 Answers

It can, see Supervisod Event Listeners and Superlance. I've had issues with supervisord leaking memory itself. Monit can easily monitor memory and CPU and doesn't use a lot of resources.

like image 149
six8 Avatar answered Sep 28 '22 01:09

six8