Hi again, I forgot to mention that I am using the following linux version: 2.6.27.21 downloaded from the OpenVZ website with the last commit : acfd6c89981b9de80b96741380780ffe6c87a15d as per the git log.
When I run the user space version of the kernel connector from outside the container, then the information of the processes running in the container cannot be seen (but the other processes related information can be seen !) When I run the same program inside a container I cannot send the message to the kernel connector because of "Connection refused" error (As mentioned earlier) !! Do let me know if I am missing any patch ? Any tip or help will be very helpful to me and shall be hugely appreciated :) Thanks a lot ! Warm Regards, Surbhi. On Tue, Aug 25, 2009 at 7:50 PM, Surbhi Chitre <[email protected]> wrote: > Hie, > > I want to find out all the processes belonging to a particular > process group. To find this out I am using the kernel connector > provided by the Linux kernel. I have written a socket based user > space program that leverages the information provided by the > kernel connector. > > This program works successfully when it executes outside any > container. However when I run it inside a container, > send() fails because of the following error: > "Connection refused". > > Running this connector code outside > the container will not fetch the information of the processes > executing inside a container. > > Has anyone else tried using the process related events given > by the kernel connector from a container ? Does this work ? > Is their any other way of finding out the processes of a group ? > (or all the children/grandchildren.. of a process running in a > container ?) > > Thanks a lot! > > Warm Regards, > Surbhi. >
_______________________________________________ Users mailing list [email protected] https://openvz.org/mailman/listinfo/users
