[Users] Cant get information from a kernel connector in a container

Surbhi Chitre csurbhi at gmail.com
Tue Aug 25 13:50:20 EDT 2009


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20090825/ceac78a1/attachment.html


More information about the Users mailing list