Hi Daniel, a simple solution can be, take a look to /proc of running contaier from ct0.
<path-to-ct-root>/proc/1/stat e.g. $ awk '{ print $1 }' /var/lib/vz/root/20123/proc/1/stat 28858 ^_real pid at ct0 Hope this helps. Bye, Thorsten On Sun, 16 May 2010 19:43:58 +1000, Daniel Pittman <dan...@rimspace.net> wrote: > G'day. > > We are currently looking into doing more monitoring and management of our > VEs > from the hardware node, and as part of that we would like to have access > to a > reasonably reliable mapping of VE id to VE init process PID on the host > node. > > (This would be, basically, the equivalent of /var/run/foo.pid, where foo > was > the VEID, and the PID was the host-node PID of the init process.) > >(...) _______________________________________________ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users