Hi guys, i have one question.
i have a server with containers. my containers are listed with id 100+
when i enter to the main server, and i do
#top
top - 14:57:17 up 3 days, 20:27, 1 user, load average: 1.89, 4.40, 13.74
Tasks: 480 total, 5 running, 471 sleeping, 0 stopped, 4 zombie
how to know, wich proccess belong to wich container???
Use vzpid
Example: To see that PHP process 18798 in your top output: vzpid 18798
A lot of system load may not be visible by 'top' though, particularly
disk I/O. For this I use 'atop' which can do disk I/O, example:
atop -dl 60
It's
On Fri, Apr 02, 2010 at 01:59:07PM -0500, ven...@dedicados.com.mx wrote:
how to know, wich proccess belong to wich container???
r...@ir13:/home/tdb# vzpid 19427
Pid VEIDName
19427 807 ruby
r...@ir13:/home/tdb#
___
Users mailing list
Hi,
ven...@dedicados.com.mx schrieb:
how to know, wich proccess belong to wich container???
simple, check the proc fs:
$ grep envID /proc/PID/status
$ vzpid PID
(vzpid, part of vzctl, use the envID of process)
for more about procs and containers, these progs can help:
$ htop
(config - add
great guys!!! thanks a lot.
vzpid help me a lot.
Gregor, i dont have installed atop, but im going to read and use it.
sounds really good.
Thank you for your info Thorsten, im going to check it.
Thanks Toby.
___
Users mailing list
Users@openvz.org
Hey there. Thanks for the tip about vzps, Thorsten.
We are still in that situation I described a few days ago, with a
container which won't stop (operation timed out). vzps shows this.
# vzps -E 84 ax
VEID PID TTY STAT TIME COMMAND
84 32226 ?Z 0:00 [init defunct]