Hi again,<br><br>I forgot to mention that I am using the following linux version:<br>2.6.27.21 downloaded from the OpenVZ website with the last<br>commit : acfd6c89981b9de80b96741380780ffe6c87a15d<br>as per the git log.<br>
<br>When I run the user space version of the kernel connector<br>from outside the container, then the information of the processes<br>running in the container cannot be seen (but the other processes <br>related information can be seen !) When I run the same program<br>
inside a container I cannot send the message to the kernel<br>connector because of "Connection refused" error (As mentioned earlier) !!<br><br>Do let me know if I am missing any patch ? Any tip or<br>help will be very helpful to me and shall be hugely appreciated :)<br>
Thanks a lot !<br><br><br>Warm Regards,<br>Surbhi.<br><br><br><br><br><br><br><div class="gmail_quote">On Tue, Aug 25, 2009 at 7:50 PM, Surbhi Chitre <span dir="ltr"><<a href="mailto:csurbhi@gmail.com">csurbhi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hie,<br><br>I want to find out all the processes belonging to a particular<br>process group. To find this out I am using the kernel connector<br>
provided by the Linux kernel. I have written a socket based user<br>space program that leverages the information provided by the <br>
kernel connector. <br><br>This program works successfully when it executes outside any<br>container. However when I run it inside a container, <br>send() fails because of the following error: <br>"Connection refused". <br>
<br>Running this connector code outside<br>
the container will not fetch the information of the processes<br>executing inside a container. <br><br>Has anyone else tried using the process related events given<br>by the kernel connector from a container ? Does this work ?<br>
Is their any other way of finding out the processes of a group ?<br>(or all the children/grandchildren.. of a process running in a<br>container ?) <br><br>Thanks a lot!<br><br>Warm Regards,<br><font color="#888888">Surbhi.<br>
</font></blockquote></div><br>