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
Thorsten Schifferdecker t...@debian.systs.org writes:
a simple solution can be, take a look to /proc of running contaier from ct0.
[...]
$ awk '{ print $1 }' /var/lib/vz/root/20123/proc/1/stat
28858
^_real pid at ct0
r...@openvz01:~# awk '{ print $1 }' /var/lib/vz/root/200/proc/1/stat
1
On Sun, 16 May 2010, Daniel Pittman wrote:
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.
Hi Daniel.