K
K
Kirill Kazakov2015-06-27 21:52:07
linux
Kirill Kazakov, 2015-06-27 21:52:07

How to see processes and open ports exclusively on openvz host?

ps auxand
netstat
Show host + virtalok processes and ports on openvz .
Whether it is possible to look at processes\ports separately for a host and separately for virtaulok?
It costs Debian->Proxmox , inside openvz containers.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konkase, 2015-06-27
@mausspb

View for a container, for example, like this:
without vzctl, you can still see the processes like this (and for sockets, you can grab pids from netstat)

# pidof init
231113 70108 1
# pstree -p 231113

and for the host:
# pstree -p 1

K
Kirill Kazakov, 2016-03-13
@mausspb

Found a simpler solution (not for the new kernel on virtuozzo).
There are vztop and vzps
vztop -E 0 (host)
vzps aux -E 0 (host)

www.stableit.ru/2009/12/openvz-vztop-vzps.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question