solar:~# ps aux |grep gmond
nobody    3993  0.0  0.0  52552  1652 ?        Ss   Jul26   0:02 /usr/sbin/gmond
nobody    3998  0.0  0.0  52552  1680 ?        Ss   Jul26   0:09 /usr/sbin/gmond
root      8389  0.0  0.0   5164   792 pts/0    S+   08:06   0:00 grep gmond
495      21602  0.0  0.0 145460  2764 ?        Ss   Jul26   0:09 /usr/sbin/gmond

solar:~# echo 1 > /proc/sys/kernel/pid_ns_hide_child

solar:~# ps aux |grep gmond
nobody    3993  0.0  0.0  52552  1652 ?        Ss   Jul26   0:02 /usr/sbin/gmond
nobody    3998  0.0  0.0  52552  1680 ?        Ss   Jul26   0:09 /usr/sbin/gmond
root      8391  0.0  0.0   5160   772 pts/0    R+   08:06   0:00 grep gmond
495      21602  0.0  0.0 145460  2764 ?        Ss   Jul26   0:09 /usr/sbin/gmond

Only one gmond process is running on the host. The other two are running on VEs.
On Tue, Jul 27, 2010 at 4:45 AM, Aleksandar Ivanisevic
<[email protected]> wrote:
> Gregor at HostGIS <[email protected]>
> writes:
>
>>> So isn't it a global way to avoid killing the
>>> processes of VEs from the host?
>>
>> Nope. A killall would include processes that run in containers.
>
> Hm, even if kernel.pid_ns_hide_child = 0 ?
>
> _______________________________________________
> Users mailing list
> [email protected]
> https://openvz.org/mailman/listinfo/users
>



-- 
Peter Senna Tschudin
[email protected]
gpg id: 48274C36
_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to