Hello, Recently I wrote a lua binding for lxc on which I built a simple lxc-top tool. In testing that my container class was properly freeing all resources during garbage collection, I discovered that lxc itself needs some cleanups. I will be posting a series of patches to do these cleanups, which fix some memory/fd leaks for long(er) running processes using the API. In addition I fixed some use after free errors and an out-of-bounds error I found with valgrind.
In writing the binding, I found that some of the C API could easily be const'ified (ie. the char *value in a lot of the config API), which makes it easier to write a binding without having to strdup in the binding. I think this also makes the API a bit cleaner. I'm going to clean up these patches and submit them for consideration also. I can post the lua binding, api test script, and top tool if there is interest. Thanks. ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel